My input date is “12/31/2020”
It is less dhan today date .how to find this
My input date is “12/31/2020”
It is less dhan today date .how to find this
Hi,
Can you try the following condition with if activity?
CDate(yourInput)<Today
Regards,
Hello,
You just have to convert your date so a DateTime object (DateTime.Parsexact(args)) and then yourDate < Today → if true then your date il before today, else it’s after.
Hi @sruthesanju
Try this expression in the If activity
DateTime.ParseExact(YourString.Trim,"MM/dd/yyyy",System.Globalization.CultureInfo.InvariantCulture)<Today
Regards
Gokul
can we use it in c# language
Yes, you can.
IF(DateTime.ParseExact(YourString.Trim,“MM/dd/yyyy”,System.Globalization.CultureInfo.InvariantCulture)<Today, “Given date is less than today”, “Given date is not less than today”)
Regards,
Ranjith Udayakumar