Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Fri Oct 01 2010 05:30:00 GMT+0530 (India Standard Time)
convert to date in serverside using c#.
Posted
Updated 5-Jun-11 23:55pm
v6

 
Share this answer
 
Comments
bhahanan 6-Jun-11 4:43am    
there not any example of GMT only utc.
Sergey Alexandrovich Kryukov 6-Jun-11 15:32pm    
My 5. To answer OP's concerns, please see my answer.
--SA
Why are you converting what looks like a DateTime value to a string and then converting it back from a string to a DateTime?
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 6-Jun-11 15:33pm    
Good point, a 5. Please also see my comments to the answer by ambarishtv and my answer.
--SA
 
Share this answer
 
Comments
Monjurul Habib 6-Jun-11 16:07pm    
nice links, my5.
Sergey Alexandrovich Kryukov 6-Jun-11 16:08pm    
Thank you, Monjurul.
--SA
try this.
{0:dd-MMM-yyyy}


hope it helps.
goodluck.:)



-chaosgray-
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900