Thanks for Joey's suggestion.
Hi Marlon,
For ASP.NET application it running on the serverside so it has limited
access to most of the clientside info. And so far for getting clientside
timezone info, you can consider Joey's suggest that use javascript to get
the TimezoneOffset .... e.g:
<script language="javascript">
function Disp_TZ()
{
var dt = new Date();
var offsetMin =dt.getTimezoneOffset()/60;
alert("Your local timezone offset: " + offsetMin + " ");
}
</script>
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Joey" <jo*********@topscene.com>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: time zone in wep application.
| Date: 12 Jan 2006 08:20:41 -0800
| Organization:
http://groups.google.com
| Lines: 3
| Message-ID: <11**********************@g47g2000cwa.googlegroups .com>
| References: <82**********************************@microsoft.co m>
| <11**********************@o13g2000cwo.googlegroups .com>
| <#L**************@tk2msftngp13.phx.gbl>
| NNTP-Posting-Host: 155.147.14.9
| Mime-Version: 1.0
| Content-Type: text/plain; charset="iso-8859-1"
| X-Trace: posting.google.com 1137082845 22686 127.0.0.1 (12 Jan 2006
16:20:45 GMT)
| X-Complaints-To:
gr**********@google.com
| NNTP-Posting-Date: Thu, 12 Jan 2006 16:20:45 +0000 (UTC)
| In-Reply-To: <#L**************@tk2msftngp13.phx.gbl>
| User-Agent: G2/0.2
| X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
..NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR
1.0.3705),gzip(gfe),gzip(gfe)
| Complaints-To:
gr**********@google.com
| Injection-Info: g47g2000cwa.googlegroups.com; posting-host=155.147.14.9;
| posting-account=quLkng0AAADPxeWcCK254A0yusgzOfm6
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfee d00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.d ca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g47g2000cwa.googlegrou ps.com!not-for-mail
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:370367
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Couldn't you use getTimeZoneOffset to apply to UTC and get their local
| times?
|
|