Demonstration of "date and time" in "information":

close Window to return to the code


Mon Dec 01, 2008 14:09:04 
 reads like: Fri Jan 03, 2003 12:01:21
 
 where
 
 Y = Year eg. 2003 
 y = Year eg. 03 
 M = Month eg. Jan 
 m = Month eg. 01 
 D = Day eg. Fri 
 d = Day eg. 03 
 z = Day of the year eg. 002 
 H = Hours in 24 hour format eg. 07 
 h = Hours in 12 hour format eg. 7 
 i = Minutes eg. 29 
 s = Seconds eg. 28 
 U = Seconds since epoch eg. 1041604168

if you want some letters in the output, which are NOT to parse, escape them with a backslash like

Mon Dec 01, 2008 14 hou
s 09 minutes 04 seconds 
 reads like: Fri Jan 03, 2003 12 hours 01 minutes 21 seconds