I am trying to convert pre-epoch UNIX dates, e.g. 1969-12-31 to a time string. But the UNIX timestamp feature (obviously) can't handle this.
I also tried using strtotime() but it also returns a -1 for pre-epoch dates.
What I want to do is build a function that would return a date, e.g., 1951-03-01 as:
"Thursday, March 1, 1951"
Anybody know any routine that can handle this conversion? I don't see anything in the library. I'd rather not have to "roll my own" here if I can avoid it.
Thanks in advance.