change xdate format