Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Ha all ,
My server is in US, but i am using the appliation in India so i am getting delay in Time. For example i got the actual date of the day afternnon.. Can you please help me, Is there any config is there to control this proble, Or any server side code?..

Very urgent Please help me,
Posted

you should let your US employer know that you're too stupid for this task. You've been told how to do this, and yet you just keep asking. There are no other answers to be had.
 
Share this answer
 
You can set the configuration at Application level or Page level.
For ex, add this code to Page_Load
C#
CultureInfo cul = new CultureInfo("hi-IN");
System.Threading.Thread.CurrentThread.CurrentCulture = cul;


Search Google/Bing for "Culture in .Net" and "CultureInfo class" to know more.

:thumbsup:
 
Share this answer
 
v2

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