parse second date format