Hi,
this applet (using default skin) uses such function to retrieve the time:
refreshDisplay: function() {
var now = new Date();
if (this.gmtOffset != null) {
// use GMT + gmtOffset
var offsetNow = new Date(now.valueOf() + (this.gmtOffset * 1000 * 60 * 60));
this.render(offsetNow.getUTCHours(),offsetNow.getUTCMinutes(),offsetNow.getUTCSeconds());
}
else {
// use local time
this.render(now.getHours(),now.getMinutes(),now.getSeconds());
}
}
and gmtOffset is null, because we don't pass this parameter.
Please open a js console and check the time returned using
new Date();
Regards,
Adam