3

This is a sample question i found at ZEND php certificate practice test, the correct answer of this question is: " There is no difference between the current time in any time zone—the current time is an absolute point in time! " This answer is very odd and confusing.I don't understand why this answer is correct, actually I think it depends on the number of hours between the local time zone and GMT. Could anyone help in this?

3 Answers3

4

They must have been referring to the unix timestamp. The unix timestamp is integer representing the number of seconds since the unix epoch -- which is defined as January 1, 1970 at midnight (00:00:00) in the GMT timezone.

So it doesn't matter what timezone you are in -- the unix timestamp is the same in all of them.

Ben Lee
  • 52,489
  • 13
  • 125
  • 145
1

What it means is that a given point in time is the same point in time even if it is represented differently in different time zones.

For example, the time you posted this question is a single point in time, even though I may write it down differently than you since we are in different time zones.

Alan Geleynse
  • 24,821
  • 5
  • 46
  • 55
  • I just want to share you with a good answer to my question i found in a thread at http://forums.whirlpool.net.au/archive/1338451. – Ibrahim Sana Nov 18 '10 at 15:21
0

It's basically a trick question. It would have been worded better as "current time" instead of "current timestamp".

The answer is saying that across the whole world it is only ever one specific point in time. We have different ways of representing that point in time across various time zones, but the actual specific point in time is the same everywhere else on Earth as it is here.

cdhowie
  • 158,093
  • 24
  • 286
  • 300