PHP Date Function

Quick and easy PHP date formatting

Type the date and time below in the format you'd like to see your date in.

Friday January 2nd 1970 3:04:05 pm

<?php date(''); ?>

Here are some common formats...

Friday January 2nd 1970 3:04:05 pm (use)

date('l F jS Y g:i:s a');

01/02/70 at 3:04 pm (use)

date('m\/d\/y a\t g:i a');

Friday, the 2nd of January, in the year 1970 (use)

date('l\, \t\h\e jS \o\f F\, \i\n \t\h\e \y\ea\r Y');