Organizational Research By

Surprising Reserch Topic

using strtotime for dates before 1970

using strtotime for dates before 1970  using -'php,mysql'

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.

asked Oct 7, 2015 by vickeykumar66
0 votes

Related Hot Questions

Government Jobs Opening