how to use the date function in client side in scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2025 11:08 AM
var now = new Date();
please suggest if body come across this situation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2025 05:52 PM
@rajamusani Could you please confirm the use case here? The javascript date object available in client script is slightly different that GlideDate available on the server side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2025 07:54 PM
what's your business requirement here?
the Date() class is javascript class
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2025 10:53 PM
whenever my case ticket resolved on the case form ,(resolved)Date field should populate with current time stamp.
so i am trying with client script to populate the resolved date .