Hello guys i want to get “MMMM” format from the date entered in the input dialog box
Iam entering the date in input dialog activity as (“dd/MM/yyyy”)
So when i use this exp (CDate(MyDate).ToString(“MMMM”))
to get the month iam getting error

So how could i get the month from the entered date
you have to convert string into date format.
please search how to convert string into date
Yoichi
(Yoichi)
3
Hi,
Can you try the following expression instead of CDate?
DateTime.ParseExact(MyDate,"d/M/yyyy",System.Globalization.CultureInfo.InvariantCulture)
Regards,
Got the solution by using this exp (DateTime.ParseExact(MyDate,“d/M/yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“MMMM”))
@Yoichi - Arigato
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.