I am using this javascript or PHP to convert a database field into a string so that I can sort on that column, however when the value of the database is null - the sorting is screwed up because I get a weird value around 1970 for the year
Does anyone know how to fix this ??
$movie_str = date('Ymd', strtotime($row['CD_MOVIE']));
$row['CD_MOVIE']and the actual weird value$row['CD_MOVIE'].