Discussions

Ask a Question
Back to All

Can I set the Event.date as a date time?

When I look at the Event retrieval endpoint I can see I will get back date-time values for the date-created, date-modified, and date fields. See the attributes object at https://developer.degreed.com/reference/get_api-v2-content-events-id where it says eg for the date field:

date-time | null
Date of the event. (UTC)

However see the Event creation endpoint at https://developer.degreed.com/reference/post_api-v2-content-events where the attributes object accepts a publish-date field with a date-time value but says for the date field:

date | null
Date of the event.

Can I not set the start time portion of my Event date? If so what is the format of the date-time? I see lots of yyyy/mm/dd formatted strings as dates for use in filters but I don't see a spec or example date-time value.