-->
Page 1 of 2

Time Difference Function

PostPosted: Tue Aug 02, 2016 6:24 am
by kingedem
Micheal,

Could you please implement time difference function bit soon?

Also, how to set the timesetup() for India - the number is: 190 and (UTC+05:30)

Re: Time Difference Function

PostPosted: Tue Aug 02, 2016 11:13 pm
by Mmiscool
I think the following should work for you

timesetup():
Will set up the time time zone and daylight savings attribute.
timesetup({number or var for time zone},{number or var for dst})

Code: Select alltimesetup(7.5, 0)
delay 5000   'give it a bit of time to synk with server
print time()



Re: Time Difference Function

PostPosted: Tue Aug 02, 2016 11:32 pm
by kingedem
where from you got 7.5 value?

Re: Time Difference Function

PostPosted: Wed Aug 03, 2016 12:21 am
by Mmiscool
I think it should have been 5.5

Woops.