Date and Time PHP Tutorials

PHP Date and Time Tutorials
Home » PHP » Date and Time (37 Tutorials)
Calculate someones age
Calculate someones age tutorial
In this quick tutorial I'll show you how to calculate someones age dynamically.
Display a Time Greeting
Display a Time Greeting tutorial
The PHP method of this script takes the local time zone (the one from the server), so it may be different to your visitors. This is why we show the time zone in this tutorial.
Create a Google Calendar widget
Create a Google Calendar widget tutorial
This tutorial shows you how to display your Google Calendar events using PHP.
Convert a MySQL date field using PHP Functions
Convert a MySQL date field using PHP Functions tutorial
Today I am going to show you how to convert data returned from a MySQL database that was store as a date data type into a user friendly format. To do this you can take two different approaches.
PHP Script Image of the day
PHP Script Image of the day tutorial
In this script shows you how to display image of the day. You can adapt this script to display quote of the day, knowledge of the day or something else you want. You don't have to change image everyday just change images once a week.
Yesterdays date, the easy and hard way
Yesterdays date, the easy and hard way tutorial
Dates can be hard to work with in PHP, here we learn you the simple way of getting yesterdays date (and other dates relative to today)
Random Date in PHP
Random Date in PHP tutorial
How to Create a Random Date in PHP.
Date & Time
Date & Time tutorial
Simple little tutorial explaining how to display the date and time on your page.
Display the last modified date
Display the last modified date tutorial
Learn how to fetch and display the modified date of pages.
Displaying the date
Displaying the date tutorial
How to get the current date in PHP.
Date/time
Date/time tutorial
It's a very basic tutorial that explain how to show date and time in a page.
Date and Time in PHP
Date and Time in PHP tutorial
Display date and time in PHP in different formats.
PHP Load Time
PHP Load Time tutorial
Display in seconds how long the page took to load.
Last Modified
Last Modified tutorial
Learn how to display the date and time when a page was last updated.
Displaying Date and Time using PHP
Displaying Date and Time using PHP tutorial
Type exactly like below in Notepad or any other HTML Editor and save it as date.php in your localhost.
Relative Dates
Relative Dates tutorial
In this tutorial I am going to teach you how to create your own relative date function.
Date of the Day in PHP
Date of the Day in PHP tutorial
This is a simple script but yet very useful, it consists on : catching the date, applying a given display style to it and finally showing it up. In this tutorial we are going to choose this display style: Day of the week | Month | Day of the Month | Year | : for instance today is Wednesday April 25 2005.
Date and Time
Date and Time tutorial
Display the current data and time using a very small and common code.
Date Function
Date Function tutorial
Learn how people use the date function in there php coding.
Make a Calendar
Make a Calendar tutorial
Using PHP's calendar functions, make a stylish dynamic calendar showing weekends, current month and more.
Home » PHP » Date and Time (37 Tutorials)
 
Subcategories
 
Categories
 
Advertisement