Omender Singh
Tera Guru

Hello ServiceNow Ninjas,

This article lists all the common questions asked in the community regarding Date & Time. We often need immediate solutions, so here is an instant help for all.

 

Click on the question, and you will be redirected to the explanation video.

 

  1. I need to check that the end date is after the start date 
  2. how to check if two dates are equal?
  3. How to restrict the DATE field range up to x days from the Current Date
  4. How to Get the current date-time using a client script
  5. Need to run the query between a specific date range
  6. How to know if today is a weekday or weekend?

 

All scripts are attached.

Mark, helpful if it helps you.

Version history
Last update:
‎04-24-2022 06:34 AM
Updated by: