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

    Weird Date behavior

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.7k Views
    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.
    • B Offline
      Bai Shen
      last edited by

      If I run the "date" command on pfSense, I get the correct date.  But when I look at my DHCP leases, I see start times 6 hours in the future.  I'm also seeing inconsistent dates in the log files.  Some are the correct time, others are showing tomorrow.

      Any idea what could be causing this?  And how to fix it?

      Thanks.

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

        An incorrectly set timezone would cause that (especially if you were in a time zone that is 6 hours behind UTC/GMT). Choose your timezone again but use a geographically named zone, not a GMT+/- 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!

        1 Reply Last reply Reply Quote 0
        • B Offline
          Bai Shen
          last edited by

          @jimp:

          An incorrectly set timezone would cause that (especially if you were in a time zone that is 6 hours behind UTC/GMT). Choose your timezone again but use a geographically named zone, not a GMT+/- zone.

          I do have a geographically named zone.  It was originally set to a GMT+/- zone, but I changed that a while back.

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

            Have you rebooted since that change? Some processes will only pick up a TZ change after a reboot.

            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!

            1 Reply Last reply Reply Quote 0
            • B Offline
              Bai Shen
              last edited by

              @jimp:

              Have you rebooted since that change? Some processes will only pick up a TZ change after a reboot.

              Hmm.  Probably not.  I'll give that a shot.

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