updating datetime field with business Rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 10:39 PM
Hi
We have a field"lastTicketAssigned", which is dateTime type.
Value is set by BR (=GlideDateTime().getDisplayValue());)
Issue : As of now it is updating system date time of system timezone. Can we update this field based on local time of logged in user, who is triggering this BR.
Thanks
Ujjwal
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 12:57 AM
Sorry , i can't catch your requirement well.
If your system time zone is +5:30 hr timezone.You don't need to do anything....
By default GlideDate/GlideDateTime uses system time zone and stores date with system time zone.
ServiceNow shows the date in user's time zone on the form...
Please mark my answer as correct and helpful based on Impact.