fkrauthan
05/26/2020, 9:50 PM2020-03-27T14:42:34
which seem to be in the the users timezone. How can I convert that to an isoString? Passing it to new Date("2020-03-27T14:42:34")
fails on the server saying its an invalid date. Using format.parse and type DATETIME
and then call .toIsoString()
says that I can’t call method toIsoString
on an objectbattk
05/26/2020, 9:56 PMfkrauthan
05/26/2020, 9:59 PMbattk
05/26/2020, 10:00 PMbattk
05/26/2020, 10:00 PMbattk
05/26/2020, 10:01 PMbattk
05/26/2020, 10:01 PMfkrauthan
05/26/2020, 10:01 PMfkrauthan
05/26/2020, 10:01 PMfkrauthan
05/26/2020, 10:02 PMfkrauthan
05/26/2020, 10:02 PMfkrauthan
05/26/2020, 10:02 PMCannot find function toISOString in object 2020-03-27T15:01:17."
battk
05/26/2020, 10:03 PMbattk
05/26/2020, 10:04 PMfkrauthan
05/26/2020, 10:10 PMformat.parse({ value: fromDateTime, type: format.Type.DATETIMETZ}).toISOString()
battk
05/26/2020, 10:11 PMfkrauthan
05/26/2020, 10:11 PMtypeof fromDateTime
is a stringbattk
05/26/2020, 10:11 PMfkrauthan
05/26/2020, 10:12 PMfkrauthan
05/26/2020, 10:12 PMbattk
05/26/2020, 10:13 PMbattk
05/26/2020, 10:15 PMbattk
05/26/2020, 10:15 PMbattk
05/26/2020, 10:17 PMbattk
05/26/2020, 10:18 PMfkrauthan
05/26/2020, 10:24 PMfkrauthan
05/26/2020, 10:40 PMnew Date("2020-03-27T14:42:34")
is not working. Normal JS engines can process it…battk
05/26/2020, 10:41 PMfkrauthan
05/26/2020, 10:45 PM2020-03-27T15:44:35-0700
battk
05/26/2020, 10:49 PMbattk
05/26/2020, 10:50 PMfkrauthan
05/26/2020, 11:01 PM