However, the integer registers \year, \month and \day contain date information you probably need. Also \time contains the number of minutes from midnight when the job started.
For more detailed information, with pdftex (so with latex and pdflatex that use the same binary program), you can access the creation date that will be stamped in the PDF file with
\pdfcreationdate
which expands to a string of the form
D:20130115083308+01'00'
that is
D:YYYYMMDDHHMMSSshh'mm'
where s is + or - and together with hh and mm gives the local offset from UTC. The command is available also with luatex but not with XeTeX.
So, for instance, if you want to get the year, month and day, you can say
\def\getdate{\expandafter\getdateaux\pdfcreationdate}
\def\getdateaux#1#2#3'{\getdateaux#3'}
\def\getdateaux#1#2#3#4#5#6#7#8{%
\def\YEAR{#1#2#3#4}%
\def\MONTH{#5#6}%
\def\DAY{#7#8}}
\yearand\month. – Eddy_Em Jan 15 '13 at 04:39\monthto "January", "February", etc.? A bunch ofifstatements? – 4ae1e1 Jan 15 '13 at 04:57\def\monthname{\ifcase\month\or January\or February… \fi}– Eddy_Em Jan 15 '13 at 05:17