Joined June 2013
·
Posted to
Convert a Unix timestamp to time in Javascript
over 1 year
ago
I'd remove the interim dt
variable, probably no reason to have it. Also, a more descriptive name wouldn't hurt, e.g. dateFromUnixTimeStamp()
I'd remove the interim dt
variable, probably no reason to have it. Also, a more descriptive name wouldn't hurt, e.g. dateFromUnixTimeStamp()
ReflectionClass is actually faster;