Using a cleaner way of getting ISOstring for date.