is valid iso string js code example Example: get iso date javascript var isoDate = new Date().toISOString()