Working with dates

From SMTX Wiki
Jump to navigation Jump to search

When using the new Date function, you will get the date in the timezone of the SSP server:

WorkflowInterface.updateTicketFields(5320, {
"Status": "Open",
"Description": "test123",
"Custom": {
 "Field 3": "test1234",
"SpecialDate": new Date(2020, 11,1)
}
});