Format date as "yyyy-mm-dd" instead of milliseconds.