Page 1 of 1

Changing Timezone

Posted: Tue Jan 03, 2006 7:58 pm
by johnny-legend
Is it possible to change the timezone?

Currentyl helpdesk is running 6 hours behind my timezone.

Posted: Tue Jan 03, 2006 10:50 pm
by Klemen
Hi,

Interesting question. Hesk uses the time that is set on your MySQL server. To change that you need to modify files

submit_ticket.php
reply_ticket.php
admin_reply_ticket.php

Inside these files find this code:

Code: Select all

NOW()
If your time is behind add:

Code: Select all

DATE_ADD(NOW(),INTERVAL 6 HOUR)
If it is ahead add:

Code: Select all

DATE_SUB(NOW(),INTERVAL 6 HOUR)
Haven't tested it, but should work.

Regards

Posted: Wed Jan 04, 2006 2:45 am
by johnny-legend
Thank you!


That modifications works fine for me.

Posted: Mon Jan 23, 2006 6:33 pm
by janssuhhh
This works for me too