how to get the current date in IOS8601 javascript code example Example: get iso date javascript var isoDate = new Date().toISOString()