Use gmdate from a timestamp.

Var name is misleading, is timestamp.