Breadcrumbs

convertTimeTicksToDateTime() Operation

Within this context TimeTicks are UNIX timestamps.
Unix time, or POSIX time, is a system for describing points in time: it is the number of seconds elapsed since midnight UTC of January 1, 1970, not counting leap seconds. It is widely used not only on Unix-like operating systems but also in many other computing systems.

Syntax

set aDateTime = aTimeTick.convertTimeTicksToDateTime();

Semantics

Converts a Unix timestamp to a DateTime object.

Substitutables

aDateTime

Can be any variable or object attribute having the type DateTime.  

aTimeTick

Can be any variable or object attribute having the type Integer.

Examples

 set aDateTime = aTimeTick.convertTimeTicksToDateTime();
⬇️

ActionScript_TimeConversions_Example

Click here to download a simple example model that shows different possibilities for DateTime conversions with Scheer PAS Designer.

📗