vascobrito
Technical User
hi there,
i have a script(ClockRun) that runs a clock giving the hours,minutes and seconds.
what i need to do is show the local time in users computer, and show the time in two more diferent timezones.
I can show local user time, but i'm don't know how to to now the time in "Lisbon" and "Sao Paulo" for instance.
what i'm using is this:
var date = new Date();
var hour = date.getHours();
var minutes = date.getMinutes();
var seconds = date.getSeconds();
new ClockRun(hour,minutes,second)
so, i want to run the "ClockRun" with those two diferent timezones, for wich i have to know the actual time of the timezone in date.
can anyone help me?
thanks in advance
i have a script(ClockRun) that runs a clock giving the hours,minutes and seconds.
what i need to do is show the local time in users computer, and show the time in two more diferent timezones.
I can show local user time, but i'm don't know how to to now the time in "Lisbon" and "Sao Paulo" for instance.
what i'm using is this:
var date = new Date();
var hour = date.getHours();
var minutes = date.getMinutes();
var seconds = date.getSeconds();
new ClockRun(hour,minutes,second)
so, i want to run the "ClockRun" with those two diferent timezones, for wich i have to know the actual time of the timezone in date.
can anyone help me?
thanks in advance