Assuming customtime is required, the following result was found.
is in effect): Example of taking a CRM date-time value (expiryTime) and appending toTime() prematurely - DO NOT USE v_CustomTime = "2020-03-25 20:41:07".toTime().toString("yyyy-MM-dd HH:mm:ss"); v_ExpiryTime = "2020-03-25T21:41:07+00:00"; info...