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.



54 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
20774 posts

Uber Geek
+1 received by user: 2126

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



92 posts

Master Geek
+1 received by user: 3


  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.



54 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?


20774 posts

Uber Geek
+1 received by user: 2126

Moderator
Trusted
Biddle Corp
Subscriber

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

php.ini




54 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.

2256 posts

Uber Geek
+1 received by user: 434

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.



54 posts

Master Geek


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

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



54 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 tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Global mode over ? Lets see.....
Created by xpd, last reply by davidrg on 2-Apr-2015 20:50 (55 replies)
Pages... 2 3 4


Semble SIM: compatible handsets
Created by DrDee, last reply by NikT on 2-Apr-2015 16:12 (81 replies)
Pages... 4 5 6


Jeremy Clarkson reported as being sacked from top gear
Created by KiwiNZ, last reply by hashbrown on 1-Apr-2015 23:54 (197 replies)
Pages... 12 13 14


April Fools!
Created by BlueShift, last reply by Mark on 2-Apr-2015 09:46 (46 replies)
Pages... 2 3 4


Surface 3: anyone interested
Created by freitasm, last reply by Dolts on 2-Apr-2015 17:12 (43 replies)
Pages... 2 3


2015 Subaru Outback
Created by Geektastic, last reply by turnin on 2-Apr-2015 20:10 (19 replies)
Pages... 2


Spark blocking MediaFire downloads
Created by BarryQuest, last reply by l43a2 on 31-Mar-2015 21:15 (36 replies)
Pages... 2 3


Tattoos — Are they safe? Do they hurt?
Created by TLD, last reply by TLD on 1-Apr-2015 12:15 (51 replies)
Pages... 2 3 4



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.