how to javascript gmt date to iso string without modification code example Example: get iso date javascript var isoDate = new Date().toISOString()