![]() |
How to covert the date into dd-mon-yyyy format?
Hi
I am fetching the date from a particular table. now i wanna convert that date into dd-mon-yyy(eg: 07-jul-2009)format before displaying it.How do i do this? PHP Code:
Thanks in advance. |
PHP Code:
This query will help: PHP Code:
The above query returns one additional column called FormattedDate that contains the DateUpdated in the desired format. http://php.net/strtotime http://php.net/manual/en/function.date.php |
| All times are GMT. The time now is 06:59 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0