4 Replies Latest reply on Mar 11, 2016 2:03 AM by arunkumar RSS
    jbai Newbie

    why does Date.parse(dateString) return NaN in code of service?

    paste piece of my code below


    var start = Date.parse('2015-12-23 12:00:00');

    var end = Date.parse('2015-12-23 13:00:00');


    what i got was that both start and end equal to NaN, is there anything wrong with the code?