Hi friends,
I developed a asp.net2.0(with c#) application and published the website. And i copied my application to the server which is in NEW YORK, USA, everything works fine but the date and time that was used in the home page shows indian date time(application was developed in india), i have used system.datetime only why the application showing indian time and not invoking the server (USA)time.......i want to display only USA date time.... Can any one help me to get rid out of this....
Script:
<script type="text/javascript" language="javascript">
function updateTime()
{
var label = document.getElementById('ctl00_lbltime');
if (label) {
var time = (new Date()).localeFormat("T");
label.innerHTML = time;
}
}
updateTime();
window.s ...
Go to the complete details ...