Validate the date format
						
					
					
				
			
		
	
			
	
	
	
	
	
Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-13-2024 02:08 AM
In Json input i get the date value format has DD/MM/YYYY.
I need to throw error when the input date value format is invalid.
Please help me with the validation code.
		1 REPLY 1
	
		
		
			
			
			
					
	
			Options
			
				
					
	
			
		
	- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
05-13-2024 03:39 AM
Hello @Chaithanya S1 ,
Please check the below links.
https://www.servicenow.com/community/itsm-forum/date-validations-date-format/td-p/512934
https://www.servicenow.com/community/developer-forum/date-format-check-in-script-include/m-p/1821984
Regards,
Namrata
