iso 8601 string to date javascript code example Example: get iso date javascript var isoDate = new Date().toISOString()