my input date value is “March 6, 2024”
in these case i need to equals to the date format
DateTime.Now.ToString(“MMMM d, yyyy”)
I have tried these but it’s working current date but my requirement if given any date it should be match
please anyone help me on these issue
@Mada_Sai_Krishna
DateTime.ParseExact("March 6, 2024", "MMMM d, yyyy",system.globalization.CultureInfo.InvariantCulture)
Try this inplace of date provide your input string
vrdabberu
(Varunraj Dabberu)
March 8, 2024, 11:53am
3
Hi @Mada_Sai_Krishna
Input = "March 6, 2024"
If
DateTime.ParseExact(Now.ToString("MM/dd/yyyy"),"MM/dd/yyyy",System.GLobalization.CultureInfo.InvariantCulture).ToString("MMMM dd, yyyy").Equals(Input)
THen
\\ DO required process
ELse
\\Do required process
ENd If
Regards
vrdabberu
(Varunraj Dabberu)
March 8, 2024, 12:00pm
4
Hi @Mada_Sai_Krishna
Check the below attachements. Any format you give in Input variable will be converted to MMMM d, yyyy
and check in If condition.
Sequence49.xaml (11.5 KB)
Regards