cancel
Showing results for 
Search instead for 
Did you mean: 

get-jobs api date format

nbritton
Level 4

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?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

nbritton
Level 4

Looks like it uses this format:

startTime lt 2021-01-27T20:10:01.000Z

or


startTime lt 2021-01-27T14:10:01-06:00

 

ISO 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"

 

View solution in original post

1 REPLY 1

nbritton
Level 4

Looks like it uses this format:

startTime lt 2021-01-27T20:10:01.000Z

or


startTime lt 2021-01-27T14:10:01-06:00

 

ISO 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"