2 Replies Latest reply on Oct 8, 2017 11:20 AM by khayes RSS
    khayes Apprentice

    Javascript Date object initialised from a string

    Hi,

    I'm trying to create a JS Date object from a time string which is passed from the edge on my remote assets.

    The string has the format 2016-Oct-06 09:41:23 +00:00:00. I have tried a number of ways to initialise a date object with this string, but none of them seem to work.

    Would anyone know how I might do this?

    Thanks.