Hopefully it has become evident from this tutorial, adding the current date and time to your web site is extremely easy. This addition will also help to give your web site a more appealing and professional look. Furthermore, it helps to add an extra dose of functionality that your site visitors will come to appreciate.
The same date functions can be applied to pages accepting data input if you wish to record dates and times, though this task can often be performed automatically by the database you are using. However, this point is still worth mentioning since some PHP programmers occasionally use a flat file database without this functionality.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |