month Format
-
hi i want to get current month in three letter format .Like my string value return 'Oct'
Jintal Patel
-
hi i want to get current month in three letter format .Like my string value return 'Oct'
Jintal Patel
-
hi i want to get current month in three letter format .Like my string value return 'Oct'
Jintal Patel
-
hi i want to get current month in three letter format .Like my string value return 'Oct'
Jintal Patel
-
hi i want to get current month in three letter format .Like my string value return 'Oct'
Jintal Patel
This will get the current month for you. The important bit is the ToString("MMM") which formats the month. Create a label control and name it Label1 then add this code: Label1.Text = DateTime.Today.ToString("MMM"); Enjoy.
-
This will get the current month for you. The important bit is the ToString("MMM") which formats the month. Create a label control and name it Label1 then add this code: Label1.Text = DateTime.Today.ToString("MMM"); Enjoy.
This sounds like the answer of an Eagles/Clapton fan. High 5 for you sir.;)
Deja View - the feeling that you've seen this post before.
-
This will get the current month for you. The important bit is the ToString("MMM") which formats the month. Create a label control and name it Label1 then add this code: Label1.Text = DateTime.Today.ToString("MMM"); Enjoy.
hi this gives me the some other language text...
Jintal Patel
-
hi i want to get current month in three letter format .Like my string value return 'Oct'
Jintal Patel
System.DateTime.Now.ToString("MMM"); i think it will work. and u can apply it to any other DateTime object regards