PHP

format the date in PHP

today i m sharing a simple and most needy thing that is used in almost every project .

it will print the date like this 25.04.2009.
following are 2 functions that can be used to achieve this target .hope this helps
http://www.php.net/strftime
http://www.php.net/strtotime

Be the First to comment.

Leave a Reply