3 Jan
2000
3 Jan
'00
12:16 a.m.
This is because of the localtime() call.
I had to fix one of my programs that I didn't notice it was doing this until after the day went past.
Similar minor problem here. An ancient version of GNU date was still in-use, and it didn't seem to like the year. $ date -d "`date`" date: invalid date. heh. New version fixed it right up. $ date -d "`date`" Sun Jan 2 21:14:51 PST 2000