PHP Date + Time Primer
(Page 1 of 3 )
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.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.
Next: Retrieving the server's timestamp >>
More PHP Articles
More By Ryan Schwiebert