Pre Exam Test Practice
Ask a Question
Advertise on boostr.in
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.
Oct 7, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening