Question4Replies6105Views SHWETAVSINGH Member since 2016 17 posts EAI Systems Posted: 2 years agoLast activity: 2 years 7 months ago Closed Solved Set StartDate as a present dateHello,How to set the start date property should be the present date only while doing validations.I have checked inside the validation rule but there we can only set past or future date, there is no option to set the present date.Can anyone help?Thanks,Shweta V Singh.***Moderator Edit: Vidyaranjan | Updated Categories*** Case Management ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agoUpdated: 2 years agoMahesh Midthuru PEGA replied to SHWETAVSINGHHi Shweta, Could you please share the screenshots of your use case what you are trying to achieve and where you were stuck as your requirement is not clear to understand. Regards Mahesh Posted: 2 years agoRachit_Agarwal PEGA replied to SHWETAVSINGHIf I understand correctly you need the currentDate(today's Date). Probably you can use an edit validate rule. In this edit validate rule you can write a java step which will compare the input Date Property with today's date. https://www.mkyong.com/java/java-how-to-get-current-date-time-date-and-… This way you can perform validation.Please let me know in case I misunderstood something. Regards, Rachit Posted: 2 years agoYasantha Virtusa replied to SHWETAVSINGHHi Shweta, Suggestion: If the user is not allowed to select any other date except the current date, why wouldn't you make the field read-only and display the current date. Regardless, you can use expression evaluates to true and write a custom condition. Eg: !@pxDateTimeisPastOrFuture(DateProperty, true) Regards, Yasantha Accepted Solution Posted: 2 years agoSHWETAVSINGH EAI Systems replied to SHWETAVSINGHThis is reply to all. Actually I have used "@(Pega-RULES:DateTime).CurrentDateTime()" this as a default value to set the current system time. So it worked. But thanx for your replies and efforts.