UnixTimeStampToDateTime

Converts a UNIX timestamp into a date/time object. A UNIX timestamp is the number of seconds since 01.01.1970. An optional time zone offset can be used to adjust the time zone. The reference time zone is the server time zone.

Usage:

UnixTimeStampToDateTime( Number )
UnixTimeStampToDateTime( Number, String )

Returns:

DateTime object

Examples:

UnixTimeStampToDateTime(1256943600)
-> Returns the date time value 10/31/2009 00:00:00.
UnixTimeStampToDateTime(1256943600, "PST") // while being in UTC zone
-> Returns the date time value 10/30/2009 16:00:00.