View Full Version : date("F j Y H:i:s T
gurmeet
02-05-2009, 03:39 PM
date("F j Y H:i:s T)
what is the meaning of all arguments, means full form of FJYH etc...?
how may i remeber these arguments while doing coding...?
Snookerman
02-05-2009, 03:53 PM
Take a look at this: http://se2.php.net/date (http://se2.php.net/date)
You could print it and look at it until you learn or bookmark the page and go back and take a look when you need to.
Good luck!
Schmoopy
02-05-2009, 04:07 PM
echo date("F j Y H:i:s T");
Would return the current date in the following format:
F = Full month name (E.g. January)
j = Day of the month (without preceding 0s) e.g. 02 would become 2
Y = Full year (4 digits - 2009)
H:i:s - Hours (24 hour clock format) : Minutes : Seconds
T = Timezone (e.g. GMT)
Full example:
February 5 2009 16:07:25 GMT
sysout
02-06-2009, 03:35 AM
just use PHPManual for coding :)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.