How to set a time and date for Date/Time fields?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 07:59 AM
What's the correct format when setting a specific value for Date/Time fields? For example, the "closed_at" field
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 01:09 PM
If you look at the docs, you would take whatever value you want to set in the field, convert it to a GlideDateTime object, then set that value to that.
Here is a link to the Docs GlideDateTime docs
Here is a screenshot of the relevant section
If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!