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...?
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...?
Take a look at this: 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!
Would return the current date in the following format:PHP Code:echo date("F j Y H:i:s T");
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
just use PHPManual for coding![]()
Bookmarks