SHOWING LATEST TUTORIALS
3 Tutorials written for beginners to PHP date handling. Gives examples timestamps, formatting dates and manipulating dates.
Learn how to add date and time to your site
This script will display the local time on your website
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.
Simple tutorial explains how to add date time stamp "page last updated on..." for a specified file using filemtime function.
Ever wanted to know what time it is on your site? Here is a very basic and simple way of doing that!
This will calculate and show how many days there are from the current date to a date in the future that you define.
This technique is very helpful when you try to optimize your PHP script. Just add a few lines of PHP code and you will get a report showing execution time of your script in milliseconds.
You would have seen heaps of tutorials teaching you how to display the date and time, but this one displays it in your timezone. You will never have to use javascript to get the time ever again :)
A code snippet that displays todays date in the title bar of your web page.
If you have ever wanted to get that "Page last updated/modified on whenever" on one of your pages, but also wanted it displayed in your timezone, you are in luck ;) It couldn't be easier.