Dates < then 1970
| From: | Mark McCulligh | Date: | Mon, 03 Nov 2003 21:01:54 +0000 |
| Subject: | Dates < then 1970 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168415@lists.php.net to get a copy of this message | ||
What function(s) would you use if you want to take someone's birth day and
format it on display.
I have always used strtotime, then strftime but it doesn't work if someone
was born in 1939. strtotime returns -1.
What function would you use to take the input string "1939/11/23" and get
the timestamp so I can use functions like strftime or date.
Thanks,
Mark.