Re: Displaying Timestamps Across Multiple Timezones in Web Part

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Geoff Robinson (geoffr2_at_aol.com)
Date: 08/24/04


Date: 24 Aug 2004 09:16:06 -0700

I have found the solution and it isn't pretty. Basicly, you have to
get a JavaScript to the client-side in order to access the the
appropriate time zone information and display the information
ultimately with a document.write.

Geoff

geoffr2@aol.com (Geoff Robinson) wrote in message news:<978b35e2.0408120849.5abb4040@posting.google.com>...
> Hi,
>
> I'm working within Sharepoint 2001 Portal Server. I have a web part,
> saved as a dwp file, which queries a document library for events and
> displays the times of the files.
>
> I have people looking at the web part across multiple time zones. They
> want to see the time stamp in accordance with their time zone, not the
> server's.
>
> As far as I can tell the dwp, which the web part calls, is an xml file
> which is processed on the server. All of the research I've done tells
> me that client-side Javascript (or something similar) must somehow get
> the GMT offset to the server.
>
> Is there anyone out there who has encountered a similar problem? How
> did you go about fixing the problem?
>
> For those who haven't dealt with this problem before, do any of you
> have any ideas or suggestions?
>
> I greatly appreciate any help.
>
> regards,
> Geoff



Relevant Pages

  • Re: Date problem
    ... If a JavaScript function determines the local time ... that local time zone down to the server somehow ... ... I have users who are located in this time zone and in time zones ...
    (comp.lang.php)
  • Re: ASP.Net Newbie Questions
    ... I think of JavaScript and stuff like form ... and the server has no memory either. ... The client-side event triggers a JavaScript function ... >> single page to only the appropriate functionality for that page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I setup php script to return a browser page?
    ... > client-side page in my case ... > content via an array, have server A process the form, and rebuild (via ... an event handler for the 'onsubmit' event in javascript that would parse the ...
    (comp.lang.php)
  • Re: I need to write to a file.
    ... client-side as my Javascript program displays ... server is never involved. ... The required information only needs to be ... how to get Javascript to write out a file without HTTP ...
    (comp.lang.javascript)
  • Re: Saving dynamically created data on client side?
    ... do this client-side only, cross-browser/OS. ... the server into a cgi/php, temporarily storing the file on the server. ... scripting at all. ... Prototype.js was written by people who don't know javascript for people ...
    (comp.lang.javascript)