I am working with a Date object in a different timezone than the console. I'm using utc string to get the actual time that was logged in that timezone. Is there an easy way to extract the (MM-DD-YYYY) from the utc string than just substringing into the string?
isoString = "2016-08-25T15:17:21.033-10:00"
utc= (new Date(isoString)).toUTCString()
Returns: "Fri, 26 Aug 2016 01:17:21 GMT"
Would like (08-26-2016)