use dateFormat instead of unix time