Error 'Should be in valid date format' via API

Modified on: Thu, 30 Mar, 2023 at 9:59 PM

Scope

I’m getting an error "Term Ends At: Should be in valid date format"


Summary

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.


Solution

There are multiple time converter apps such as epoch, on which you can convert date, month, year, and time to timestamp and vice versa. Note, that it should NOT be in milliseconds, screenshot for reference.



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×