Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    fix current time

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 5 Posters 2.0k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      guilherme_egb
      last edited by

      Re: Pfsense Date & Time

      I've already downloaded and updated my timezone on pfsense 2.4.2 but my current time is wrong. I've already reboot my pfsense too.

      Anyone have an idea how to solve thus problem?

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        And how much is it off by? Are you syncing to ntp? What does the ntp status show?

        This pfsense on hardware or a VM?

        BTW - your not current.. You really should be on current 2.4.4p3

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • G Offline
          guilherme_egb
          last edited by

          I'm using the address "pool.ntp.org" for ntp server. Is it correct?

          My pfsense is on hardware.

          Do you have any solution without upgrade the pfsense for the last version?

          1 Reply Last reply Reply Quote 0
          • G Offline
            guilherme_egb
            last edited by

            I've tried to adjust the timezone last week.
            My ntp status:
            2019-11-11 (1).png

            1 Reply Last reply Reply Quote 0
            • johnpozJ Offline
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz

              Not saying that the update to current will fix your issue, but you should be current.

              pool.ntp.org is fine - you have it marked as pool.. And again what does the status ntp show.. Does it show its syncing?

              How much are you off by, few minutes, hours? Days?

              edit: Well that shows your fine.. So if your off from what you think it should be I would assume timezone problem.

              Why do you think you time is off?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • G Offline
                guilherme_egb
                last edited by

                In Brazil we have the daylight saving time and when I use the "date" command on Shell, show me the right time, but in the dashboard show me an hour ahead. Current time is wrong.

                1 Reply Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  And what TZ are you set to in the general section? Brazil has what 4 different TZs

                  What is the output of your date cmd, what tz does it show?

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    guilherme_egb
                    last edited by

                    I'm using the TZ America/Sao_Paulo.

                    After typing the date command show:
                    Mon Nov 11 15:28:50 -03 2019
                    It's correct.

                    But in the dashboard show me 16:28:50.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ Offline
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      Do

                      [2.4.4-RELEASE][admin@sg4860.local.lan]/root: date -u
                      Mon Nov 11 18:34:28 UTC 2019
                      [2.4.4-RELEASE][admin@sg4860.local.lan]/root: date
                      Mon Nov 11 12:34:31 CST 2019
                      

                      Post the output

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        guilherme_egb
                        last edited by

                        2019-11-11 (2).png

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ Offline
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          Something not right there.. less it took you like 8 minutes between doing the command ;)

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            guilherme_egb
                            last edited by

                            Yes, anything is wrong.

                            I guess that the better solution is upgrade the pfsense.

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ Offline
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              Not sure of all the changes - but its quite possible there was some change to TZ info between your version and current, etc.. I would for sure update to current... And then if we find a problem with the TZ settings we can submit the problem.

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • jimpJ Offline
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                Also, under System > General Setup, pick a Timezone with a geographic name close to you, do not pick GMT +/- offset type zone.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                P 1 Reply Last reply Reply Quote 0
                                • GertjanG Offline
                                  Gertjan
                                  last edited by

                                  Also : your system is repaired now https://forum.netgate.com/topic/148033/php-error-timezone ?

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    guilherme_egb
                                    last edited by

                                    Yes, this PHP problem has been solved.

                                    Thanks for helping.

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ Offline
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by

                                      So now your time shows correct?

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        guilherme_egb
                                        last edited by

                                        I've reboot my pfsense today and then the php is working.

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ Offline
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by johnpoz

                                          Not what I asked exactly, but take that as a yes to your time is now showing correct everywhere ;)

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            guilherme_egb
                                            last edited by

                                            Sorry, I've answered wrong.

                                            Today, I'll try to change my time manually.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.