nbritton
4 years agoLevel 4
get-jobs api date format
For the get-jobs api, does anyone have an example of how the date needs to be formated for the enddate and startdate filter parms?
Looks like it uses this format:
startTime lt 2021-01-27T20:10:01.000Z
or
startTime lt 2021-01-27T14:10:01-06:00ISO format : https://en.wikipedia.org/wiki/ISO_8601
Nice converter : https://dencode.com/en/date/iso8601
Poweshell to get that format:
Get-Date -Format "o"