Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9034087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:23:50+00:00 2026-06-16T08:23:50+00:00

I searched now for many hours, it seem’s like nobody got that problem before.

  • 0

I searched now for many hours, it seem’s like nobody got that problem before.

I run a script, which writes the current timestamp into a database, on two servers. Both have the same os, software, … and the same timezone.

Now I found out, that the diff between some timestamps and the current time() is a negative number (yes, the calculation is correct: time() - $older_timestamp)

I dumped time() on both servers, the result: it differs by exactly one hour.
Check it out:

  • time() on server #1: -1 hour
  • time() on server #2: correct timestamp

Since time() should be always UTC-based, I can not explain, how this happens.

Does someone have any idea?

Greetings from Aachen

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T08:23:51+00:00Added an answer on June 16, 2026 at 8:23 am

    Apparently server one and server two are set to different times. Check BIOS and your servers’ OS time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched for hours now and haven't found a solution for my problem.
I've searched Google for awhile now, doesn't seem like I am correctly searching it
Up till now I have searched for hours on end and have not found
I have searched for a good couple hours now, looking for a solution to
I have searched for this but nobody have the same issue.. Now I need
Doxygen noob here. I've searched and tried to resolve this for several hours now
I had searched the web for solutions to my problem and found many related
I searched the same thing on net and got many answers but some how
Many many programs have communities that adds languages to the application after it got
I've been working on this problem for a few hours now and I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.