Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



52 posts

Master Geek


Topic # 113866 30-Jan-2013 14:15 Send private message

Anyone know how to change the time zone within FreePBX so that it reports the correct time that calls were made/received in the call monitor? For some reason the time it shows is 13 hours behind NZ time, even though the time within my Raspberry Pi is set to NZ time.

Create new topic
16713 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 753373 30-Jan-2013 16:57 Send private message

Normally it'll just gets it's timezone from PHP, so you presumably have that wrong in php.ini






*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post

58 posts

Master Geek


  Reply # 753379 30-Jan-2013 17:14 Send private message

http://www.freepbx.org/forum/installation/is-php-timezone-setting-required

If the application gives shell access to the underlying operating system running the date command with tell which time zone applies.



52 posts

Master Geek


  Reply # 753596 31-Jan-2013 07:24 Send private message

Thanks, but can you tell me how you go about setting the time in this PHP thing you mention?


16713 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 753610 31-Jan-2013 08:24 Send private message

php.ini





*Need help configuring your Linksys ATA or IP Phones for New Zealand? Check my blog post



52 posts

Master Geek


  Reply # 753644 31-Jan-2013 09:14 Send private message

@sbiddle, while I appreciate your posting a response very much, it's completely useless to me since I have posted before that I am not a specialist in Linux or FreePBX or anything beyond what a layperson knows how to do on a computer.

Perhaps I'm posting to wrong forum, but if anyone can give me more or less step-by-step instructions on how to fix my time settings, I'd be grateful.

979 posts

Ultimate Geek

Subscriber

  Reply # 753726 31-Jan-2013 10:52 Send private message

Could it be the system clock isn't in sync with the hardware clock or vice versa?

Run 'hwclock --systohc'

Never had an issue with time. When you type 'date' on the command line is that the right time? If not you can manually set the time by going 'date mmddhhmmyyyy' which is month, day, hours, minutes, year.



52 posts

Master Geek


  Reply # 753744 31-Jan-2013 11:11 Send private message

Thank you so much, @chevrolux, that did the trick!



52 posts

Master Geek


  Reply # 753751 31-Jan-2013 11:19 Send private message

BTW, I wound up running the following to set the correct time zone, too:

ln -sf /usr/share/zoneinfo/Pacific/Auckland /etc/localtime

Create new topic
Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Xbox One
Created by DjShadow, last reply by merve0o0 on 22-May-2013 18:27 (37 replies)
Pages... 2 3


Cannabis is illegal yet we have really strong 'legal highs' ?
Created by qwerty7, last reply by P1n3apqlExpr3ss on 22-May-2013 21:44 (59 replies)
Pages... 2 3 4


A new project coming to Geekzone
Created by freitasm, last reply by networkn on 22-May-2013 23:26 (246 replies)
Pages... 15 16 17


Changeover issue: dial up
Created by Zigg, last reply by robjg63 on 21-May-2013 22:02 (17 replies)
Pages... 2


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by psychrn on 22-May-2013 23:46 (1532 replies)
Pages... 101 102 103


"igov" online passport renewals
Created by Linuxluver, last reply by profrink on 22-May-2013 22:22 (29 replies)
Pages... 2


Orcon, Is this for real or a scam??
Created by old3eyes, last reply by DarthKermit on 22-May-2013 19:12 (29 replies)
Pages... 2


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)


Geekzone Jobs »
Most recent NZ jobs in technology:

Intermediate Project Manager
Posted 22-May-2013 22:27

Project Manager - Data Centre
Posted 22-May-2013 22:27

Senior Embedded Software Engineer
Posted 22-May-2013 22:27

Senior Business Analyst
Posted 22-May-2013 22:27

Systems Support Administrator
Posted 22-May-2013 19:27

Senior Technical Business Analyst
Posted 22-May-2013 19:27

Network Reporting Engineer
Posted 22-May-2013 19:27


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.