fixed date format for mysql