Added safeStrToTime() to wrap and throw exception on strtotime() failing.