change dates to hive-compliant format