Pull only the current time with Client Script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello all,
I am working on configuring a record producer that will need to display certain variables depending on if it is during business hours or after hours. My thought was to use a client script to get the current time and hide/show variables depending on if its before or after the set time. I am able to get date and time, but wanted to know if there is a way to get only the current time to be captured.
Thanks for any assistance/guidance.
Joe
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
what type of variable is this?
you want current time in local time i.e. timezone of the logged in user or GMT time?
share some details and screenshots
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
