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