Home arrow PHP arrow PHP Date + Time Primer

PHP Date + Time Primer

PHP incorporates powerful and fast date and time functionality. In this article Ryan gives us the low down on PHP's various functions to manipulate the time and date with ease.

Author Info:
By: Ryan Schwiebert
Rating: 4 stars4 stars4 stars4 stars4 stars / 11
June 19, 2002
  1. · PHP Date + Time Primer
  2. · Retrieving the server's timestamp
  3. · Conclusion

print this article

PHP Date + Time Primer
(Page 1 of 3 )

Today's web sites try to offer a wide variety of useful data and information to the viewer. This is often what makes a web site more appealing than flashy graphics and cheesy animations. In fact, sometimes it is the attention to subtle detail that helps the web developer take that extra step into making a site appear more professional.

One simple way to add a professional detail to your web site is to post the current date and time within your web page. As insignificant as this might sound, it is a very commonly used way to show visitors that your site is slightly ahead of the curve.

The following basic PHP tutorial will show you how to use a few PHP functions to retrieve date and time information from your web server and display them neatly on your web site.
blog comments powered by Disqus

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials