PDA

View Full Version : How to adjust time in the script?


Leea
03-30-2006, 10:39 PM
Hi there,
I would like to know how can I adjust the time zone of the script.
I mean my country time zone is GMT +2, my server time is GMT -3, so if I want to set an article to appear the 1st of May 00:00 o'clock, for example, will appear at 05:00 o'clock on the 1st of May instead.
How can I fix that from the script.


Regards,
Leea

Alex
03-31-2006, 07:19 AM
The script uses server-side to set times, so you probably need to make basic adjustment and always put times minus five hours.

However, this is good point, we probably need to make some sort of permanent solution for this issue for next version and turn this over to the client-side.

Leea
03-31-2006, 03:07 PM
so you probably need to make basic adjustment and always put times minus five hours.


Where should I make the adjustment, where should I put minus five hours?

Alex
03-31-2006, 03:55 PM
actually I ment manually :) When you want article displayed on i.e. 8pm, you put minus five (3pm) and it gets displayed in correct local time.

Leea
03-31-2006, 05:26 PM
:rolleyes: I can only set the date not the time ... or can I ???
If I can set the time also ... where is the option? :rolleyes:
Regards