I have date/time field and I want to select future date/time with today date but with future time.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2022 08:23 AM
I have date/time field and I want to select the future date/time with today's date but with a future time.
Basically, I want to write a script to have only future dates and also we can have today's date but with future time if
date is the past date and if today date has past time then it should clear that field and give alert
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2022 08:32 AM
Try using GlideDateTime compare: https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server_legacy/c_GlideDateTimeAPI#r_GDT...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2022 08:32 AM