UNIX timestamp always in GMT?

bbnn picture bbnn · May 18, 2010 · Viewed 30.9k times · Source

UNIX timestamp always in GMT?

I tried to run php function time()

and when I tried to convert the unix timestamp from the time() function, the output is not similar to the computer time.

Thank You

Answer

zerkms picture zerkms · May 18, 2010

yep, UNIX timestamp represents how much seconds past from unix-time epoch in GMT+0