 | Date & Time Functions |
| Learn How To Put The Date & Time Using PHP! |
| PHP Tutorials > Date and Time |
| |
 | Simple Date and Time |
| Ever wanted to know what time it is on your site? Here is a very basic and simple way of doing that! |
| PHP Tutorials > Date and Time |
| |
 | PHP date() function |
|
| PHP Tutorials > Date and Time |
| |
 | Time and Date |
|
| PHP Tutorials > Date and Time |
| |
 | PHP Date and Time |
| This tutorial will teach you how to add server date and time to your site using the simple date() function. |
| PHP Tutorials > Date and Time |
| |
 | 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. |
| PHP Tutorials > Date and Time |
| |
 | Formatting date/time value |
|
| PHP Tutorials > Date and Time |
| |
 | Page Generation Time |
| Ever seen the "This page was generated in: 0.043534 seconds" things on websites? Ever wondered how to do it? Well heres how. |
| PHP Tutorials > Date and Time |
| |
 | Function to convert datetime |
| With this function, you can convert a mysql datetime datatype into any other format. This way, you only need to declare the function once and be able to format your dates everywhere in your document. |
| PHP Tutorials > Date and Time |
| |
 | Page generation time |
| 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. |
| PHP Tutorials > Date and Time |
| |
 | Display the date and time in your timezone |
| 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 :) |
| PHP Tutorials > Date and Time |
| |
 | Show Current Date |
|
| PHP Tutorials > Date and Time |
| |
 | PHP date() Reference Guide |
|
| PHP Tutorials > Date and Time |
| |
 | Calculating date differences |
| Given two dates, you can use this function to calculate the difference between them in terms of the number of years, months, weeks, hours, minutes and seconds. |
| PHP Tutorials > Date and Time |
| |
 | Displaying date and time |
|
| PHP Tutorials > Date and Time |
| |
 | Last Modified Date |
| You've probably read how do it in JavaScript, now heres to do it in PHP, The Last Modified Date. |
| PHP Tutorials > Date and Time |
| |
 | Title Bar Date Script |
| A code snippet that displays todays date in the title bar of your web page. |
| PHP Tutorials > Date and Time |
| |
 | Get the date and time a file was last updated in y |
| 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. |
| PHP Tutorials > Date and Time |
| |
 | Tips For Making Your PHP Code More Portable |
| One of the big causes of errors in PHP scripts is the lack of a portable code standard. This article takes a look at a few little things that we can do to help make our PHP scripts more portable. When other developers comes to use them, they will have mor |
| PHP Tutorials > Development |
| |
 | Develop rock-solid code in PHP: Use variables effe |
| The series Develop rock-solid code in PHP is about solving practical, real-life problems in medium- to large-scale applications. This article discusses how to use variables effectively. It also shows how to make script configuration easy by constructing a |
| PHP Tutorials > Development |
| |