01<?php 02 03// reads like: Fri Jan 03, 2003 12:01:21 04echo'<p>'.date('D M d, Y H:i:s').'</p>'; 05 06/* 07 where 08 09 Y = Year eg. 2003 10 y = Year eg. 03 11 M = Month eg. Jan 12 m = Month eg. 01 13 D = Day eg. Fri 14 d = Day eg. 03 15 z = Day of the year eg. 002 16 H = Hours in 24 hour format eg. 07 17 h = Hours in 12 hour format eg. 7 18 i = Minutes eg. 29 19 s = Seconds eg. 28 20 U = Seconds since epoch eg. 1041604168 21 22if you want some letters in the output, which are NOT to parse, escape them with a backslash like 23*/ 24 25// reads like: Fri Jan 03, 2003 12 hours 01 minutes 21 seconds 26echo'<p>'.date('D M d, Y H \h\o\u\r\s i \m\i\n\u\te\s s \s\e\c\o\n\d\s').'</p>'; 27 28?>