Error parsing datetime using Script Processor

Hi,

I need to get the date and time from the log record.
In JavaScript I can just do the following:

var d = new Date("Oct 27, 2022 1:39:57 PM");

But the script processor seems nto to be able to do this.
When I try (for testing purposes) to just write to another field - it says "invalid date".

Any advice how to deal with this?

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.