Skip to main content
Skip table of contents

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

convertTimeTicksToDateTime() 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

NONE
 set aDateTime = aTimeTick.convertTimeTicksToDateTime();

ActionScript_Time_Conversions_Example

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.