getTimezoneOffset (Date.getTimezoneOffset method)

public getTimezoneOffset() : Number

Returns the difference, in minutes, between the computer's local time
and universal time.

Ah ha!  It seems I do not have a problem as the getTimesoneOffest does
it automatically... great!

Availability: ActionScript 1.0; Flash Player 5
Returns

Number - An integer.
Example

The following example returns the difference between the local
daylight saving time for San Francisco and universal time. Daylight
saving time is factored into the returned result only if the date
defined in the Date object occurs during daylight saving time. The
output in this example is 420 minutes and displays in the Output panel
(7 hours * 60 minutes/hour = 420 minutes). This example is Pacific
Daylight Time (PDT, GMT-0700). The result varies depending on location
and time of year.

var my_date:Date = new Date();
trace(my_date.getTimezoneOffset());



On Jan 12, 10:11 am, "Linck Atlanta, Ga" <[email protected]> wrote:
> I have successfully displayed the time of different American time
> zones by adding to GMT... but what of our silly daylight savings time
> we have over here.  I think the solution would be that the showClock
> Macro bases with EST rather than GMT, but cannot seem to find in the
> macro where it determines that... any thoughts?
-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to