Get month name and last date form date time
-
Hi All, I have got this date 4/1/2010 12:00:01 AM from my text box and i converted it into the Date time (this date is April) i know the today date time using Datetime.now So i want all end date of month in the following format 30 Apr 31 May thanks amit
-
Hi All, I have got this date 4/1/2010 12:00:01 AM from my text box and i converted it into the Date time (this date is April) i know the today date time using Datetime.now So i want all end date of month in the following format 30 Apr 31 May thanks amit
You must specify a date format you want to use to display the date. This should do the trick :
DateTime.Now.ToString("d MMM yyyy hh:mm:ss");
.: I love it when a plan comes together :. http://www.zonderpunt.nl
-
You must specify a date format you want to use to display the date. This should do the trick :
DateTime.Now.ToString("d MMM yyyy hh:mm:ss");
.: I love it when a plan comes together :. http://www.zonderpunt.nl
-
Hi All, I have got this date 4/1/2010 12:00:01 AM from my text box and i converted it into the Date time (this date is April) i know the today date time using Datetime.now So i want all end date of month in the following format 30 Apr 31 May thanks amit