Docs
timestamp, api, convert, error, should, be, in, valid, date, format
Error 'Should be in valid date format' via API
While performing any time-related changes via the APIs, we need to ensure that the time format is in
41075087
2023-03-30T16:28:18Z
2023-03-30T16:29:51Z
197
0
0
258562
Error 'Should be in valid date format' via API
I'm getting an error: Term Ends At: Should be in valid date format
While performing any time-related changes via APIs, we need to ensure that the time format is in timestamp (UTC) in seconds. Normally, you can use any online converter to convert time format into timestamps (UTC) in seconds.
There are multiple time converter apps such as epoch, on which you can convert date, month, year, and time to timestamp and vice versa.
It should NOT be in milliseconds. Please refer to the below screenshot for reference.