I don't understand the difference between Glide Date Time and Glide Date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2022 12:01 AM
Hi.
Please tell me the difference between Glide Date Time and Glide Date as a coding beginner.
As far as I can tell, I think it's related to getting the timezone, but I'm not sure.
Also, I feel that GlideDateTime is basically used. Is there a good case where GlideDateTime is bad and GlideDate is good?
Thank you!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 08:34 PM
Hi,
Real time example for change_request table
You want to calculate difference between planned start date and planned end date
Both are of type date/time so you would use GlideDateTime here for calculation
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader