I need to format a date as yyyy-MM-dd'T'HH:mm:ss.SSS'Z' as specified by Parse’s REST API for Facebook. I was wondering what the most lightweight solution to this would be.
I need to format a date as yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ as specified by Parse’s REST API
Share
Call the
toISOString()method: