Using strtotime for dates before 1970
- by ctroy
I have a text column in mysql and it stores a date value in the format yyyy-mm-dd.
Now, in my php page, I use this code to parse into a date value.
date("F j, Y", strtotime($row['value']));
Now, I just read that strtotime() parses values only after January 1, 1970. I have lot of date values before that date. Is there a work around? I don't want to change my database structure.