use toISOString() to format ISO date format