The date() function of PHP is a very flexible function, which generates the current date and/or time. Human beings uses many different formats to represent date/time. Some writes 98, while others prefer 1998. Some writes 06/23/2010 while others prefer 06-23-2010. Some writes time in 12 hours format while other use 24 hours format. The date() function of PHP supports all these types.
date() function returns a date or a time or both. To control what it outputs, and the format it outputs, we can use number of format parameters. continue reading…
My tech writings in english.


