pgDateFormat

Hi Clifton,
I would like to format this "2015-02-20'T'16:01:00" to seconds. Is it a recognizable date string? It's from the pgDateFormat "isoDateTime" output mask. I want to return it to seconds or milliseconds so that I can compare it with the current date and time. So far I've only got an NaN error.
Update: This: var msec = Date.parse("2015-02-20T16:01:00") works here http://www.w3schools.com/js/tryit.asp?filename=tryjs_date_convert but I can't do with pgDateFormat. Maybe Ishould try exeJavascriptDirect?
I would like to format this "2015-02-20'T'16:01:00" to seconds. Is it a recognizable date string? It's from the pgDateFormat "isoDateTime" output mask. I want to return it to seconds or milliseconds so that I can compare it with the current date and time. So far I've only got an NaN error.
Update: This: var msec = Date.parse("2015-02-20T16:01:00") works here http://www.w3schools.com/js/tryit.asp?filename=tryjs_date_convert but I can't do with pgDateFormat. Maybe Ishould try exeJavascriptDirect?