Changed date format to Unix time