Date & Time. Tutorials & Tips. PHP. Scripts from Hot Scripts. Review before you use or buy a script! Let Hot Scripts uncover the best free, open source and commercial hot-scripts Date & Time scripts for your web site.
Date & Time
-
Php date() Function With Examples
The PHP date() function formats a timestamp to a more readable date and time. PHP time stamp is a numeric value in seconds between the time at present and the value at Unix Epoch (January 1 1970 00:00:00 GMT). This time of January 1 1970 00:00:00 GMT is... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Creating a count down system
In this tutorial I will show you how to create a simple count down system.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
date manipulation functions
A collection of 4 date functions that includes how to add days to today's date,How to find anyone's age, how to get today's date with your time zone and how to get the end of any month from today's date.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How to validate a date without having to put together regular expressions in PHP
When validating dates in PHP you can either do it the hard way, by spending some time putting together a regular expression, or the easy way, by using a predefined function.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Calculating the remainder of a subscription time in PHP
To calculate the remainder of a subscription time in PHP we need three items: the end date from the future in timestamp format, the current date in timestamp format, and a function to convert the difference between the two from seconds into days, months... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Snippet: Converting Seconds to Readable Time (PHP & JS)
Sometimes, you might need to convert an integer representing seconds into a format that is easier to read. These functions can be used to turn a number of seconds into a simple format of HH:MM:SS, with leading zeros (ex. 15272 = 04:14:32). This can be... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Get date by position (ie. third Wednesday of January)
Allows you to convert: "third Wednesday of January" to the actual date value.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Display Date and Time ih PHP
In this code sample we will take a look at how to display date or time in our HTML pages. In PHP date() function can be used for to display in different ways. Let's see our sample.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Working With Time Zones in PHP
This tutorial explains how to handle converting times to different time zones using the DateTime and DateTimeZone classes provided by PHP 5.2.0+. It will show how to collect the time zone in the Area/Location format and how to use it for converting to... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
The Date of Easter
This simple PHP example will generate and output the date of easter for any given year. It is very simple, and most people will easily understand it.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Calculating the Difference Between Two Dates
How to calculate the difference between two dates in PHP.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Calculate a Person's Age From Two Dates
Many registration forms request registrants' birth dates. This function allows you to use that information to determine a person's age. This is useful when determining whether COPPA requires parental consent (if the user is under 13).
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Page Load Time Walkthrough
This tutorial will show you how to add your page load time to your PHP pages. It includes code that is able to be copy and pasted for easy assembly.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Displaying the date using the date function
Tutorial was written for the newbie PHP programmer to show how to use the date function to display the date using PHP. We also show you the aruments to pass to the date function to display the date the way you want it. Also included are examples.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Days Between Now And Future Date
This will calculate and show how many days there are from the current date to a date in the future that you define.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Title Bar Date Script
A code snippet that displays today's date in the title bar of your web page.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Displaying the Current Date and Time
Displaying the Current Date and Time. All data which may be obtained with command Date() is shown. A couple of examples are included: link of the day and local time
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Educadito v.php
PHP function to greet the user, according to the hour. Written in Spanish.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Calendar of Events Listing
This tutorial describes how to write a simple script which looks at a list of events and only displays the events that occur today or in the future.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Last Modified - Tutorial and Script
This is an example rich tutorial on adding a "last modified" date and time to your website. It includes full source code and description of its use.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose