date to string
-
hi i am getting date value from database formate like '5/28/2008 10:12:00' but i am exepecting result like 'May 28 10:12' how can i convert like this please help me
with regards, bretto
-
hi i am getting date value from database formate like '5/28/2008 10:12:00' but i am exepecting result like 'May 28 10:12' how can i convert like this please help me
with regards, bretto
Why did you expect that format ? Did you ask for it ? That's a custom format, you'd need to come up with a custom format string to pass to the ToString method. 10 seconds with google gave me this[^]. I googled datetime tostring. I suggest reading the article I link to in my sig.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
hi i am getting date value from database formate like '5/28/2008 10:12:00' but i am exepecting result like 'May 28 10:12' how can i convert like this please help me
with regards, bretto
-
Why did you expect that format ? Did you ask for it ? That's a custom format, you'd need to come up with a custom format string to pass to the ToString method. 10 seconds with google gave me this[^]. I googled datetime tostring. I suggest reading the article I link to in my sig.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
hi christiam graus thanks for ur kind help this link is very use full for me
with regards, bretto