Question
COGNIZANT TECHNOLOGY SOLUTIONS
COGNIZANT TECHNOLOGY SOLUTIONS
US
COGNIZANT TECHNOLOGY SOLUTIONS
Posted: Jun 26, 2017
Last activity: Jul 10, 2017
Last activity: 10 Jul 2017 14:55 EDT
Closed
Date Format Issue .. How to convert date into hours only
Hi All,
I want to convert date-time to hours so that I can apply validation rule whereas I need to check, the entered date should be grater than 24 hrs. Please advise!
Hi Varun,
You can use the @hour date function to return the Java int value corresponding to the hour of the day (0 to 23) for the validation.
The below links might be helpful.
https://community.pega.com/sites/default/files/help_v718/procomhelpmain.htm
https://collaborate.pega.com/question/change-editable-calender-date-time-format-24-hours-format
Thanks,
Gisela