realpeterz on 03/12/11
Last Edited at 03/12/11 04:34am
echo date("F j, Y g:i a", strtotime($row["date"])); // October 5, 2008 9:34 pmecho date("m.d.y", strtotime($row["date"])); // 10.05.08echo date("j, n, Y", strtotime($row["date"])); // 5, 10, 2008echo date("Ymd", strtotime($row["date"])); // 20081005echo date('\i\t \i\s \t\h\e jS \d\a\y.', strtotime($row["date"])); // It is the 5th day.echo date("D M j G:i:s T Y", strtotime($row["date"])); // Sun Oct 5 21:34:02 PST 2008
Report this snippet Tweet
Comment:
You need to login to post a comment.