Formats
|
PHP Code
|
November 27, 2012
|
date("F d, Y",strtotime($row['date']));
|
Tuesday, November 27, 2012
|
date("l, F d,
Y",strtotime($row['date']));
|
Nov 27, 2012
|
date("M d, Y",strtotime($row['date']));
|
27 November 2012
|
date("d M Y",strtotime($row['date']));
|
27 Nov 2012
|
date("d M Y",strtotime($row['date']));
|
Tue, 27 Nov 2012
|
date("D, d M
Y",strtotime($row['date']));
|
Tuesday, the 27th of November, 2012
|
date("l",strtotime($row['date'])) .
", the " . date("jS",strtotime($row['date'])) . "
of " . date("F, Y",strtotime($row['date']));
|
Do feel free to ask any questions that you may have concerns to web. No Compromise on Learning!
Monday, November 26, 2012
How to Display MySQL Dates in different Formats using PHP
Subscribe to:
Post Comments (Atom)
How to backup and download Database using PHP
< ?php $mysqlUserName = 'databaseusername' ; $mysqlPassword = 'databasepassword' ; $mysqlHostNa...
-
Welcome to the next part of OpenLayers 3 for Beginners! If you have not worked through parts one or two yet, you can hop over to them he...
-
What is PHPSpreadSheet Library PHPSpreadSheet library is purely writter in PHP and it main purpose of communicate your PHP application with ...
-
Welcome to OpenLayers 3 for Beginners: Part 2. If you have not been to and completed OpenLayers 3 Part 1 yet, head over to http://chris...
No comments:
Post a Comment
Please Comment Here!