Question4Replies6311Views×Close popoverSHWETA SINGH (SHWETAVSINGH) EAI Systems EAI Systems SA View Profile SHWETAVSINGH Member since 2016 17 posts EAI Systems Posted: February 1, 2018Last activity: February 23, 2018Posted: 1 Feb 2018 1:39 ESTLast activity: 23 Feb 2018 6:20 EST 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 agoPosted: 1 Feb 2018 7:25 ESTUpdated: 1 Feb 2018 7:24 EST×Close popoverUmamaheshwar Reddy Midthuru (Mahesh Midthuru) PEGA Sr. Software Solutions Engineer Pegasystems Inc. US View ProfileMahesh 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 agoPosted: 1 Feb 2018 11:00 EST×Close popoverRachit Agarwal (Rachit_Agarwal) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View ProfileRachit_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-calender/ This way you can perform validation.Please let me know in case I misunderstood something. Regards, Rachit Posted: 2 years agoPosted: 1 Feb 2018 14:33 EST×Close popoverYasantha Chamara Paranamanna (Yasantha) Virtusa PEGA Senior System Architect Virtusa LK View ProfileYasantha 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 agoPosted: 15 Feb 2018 23:25 EST×Close popoverSHWETA SINGH (SHWETAVSINGH) EAI Systems EAI Systems SA View ProfileSHWETAVSINGH 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.