ASWATHY_K
(ASWATHY K)
1
for example aug-08, june-06
Gokul001
(Gokul Balaji)
2
Hi @ASWATHY_K
Try with this expression
DateTime.ParseExact("aug","MMM",System.Globalization.CultureInfo.InvariantCulture).ToString("MM")
Regards
Gokul
Gokul001
(Gokul Balaji)
3
HI @ASWATHY_K
How about this expression?
DateTime.ParseExact("june",{"MMMM","MMM"}, System.Globalization.CultureInfo.InvariantCulture,System.Globalization.DateTimeStyles.None).ToString("MM")

Regards
Gokul
Hello @ASWATHY_K
Refer to this thread
ASWATHY_K
(ASWATHY K)
5
Thkz @Gokul001
but this showing a error.
Gokul001
(Gokul Balaji)
6
Hey @ASWATHY_K
Try with this it will work for both case aug and june
Regards
Gokul
@ASWATHY_K
Try this
Month(DateValue("1 "+Month_Name+" 2022")).ToString

Gokul001
(Gokul Balaji)
9
Great @ASWATHY_K
Kindly close this topic by mark as solved.
Regards
Gokul
system
(system)
Closed
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.