Posted on: 8/13/2013 2:24:50 PM | Views : 283

Hi all, In localhost I store datetime without any conversion (fr-FR), but when I deployed it to a server in another country it display the wron  datetime (en-US and +6h) Can you please tell me how to convert datetime to fr-FR and also show client local time?  Buy the way the data type in the DB is datetime, and this is the code I'm using :
date = dte.DateTime.Now; I tried DateTime.ParseExact() and convert.todatetime() ... but it gives me an exception : 
String was not recognized as a valid DateTime. Any help please?  
...

Go to the complete details ...