Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

UnixToDate Function

Overview

The UnixToDate function converts a Unix time (aka POSIX or Epoch time) value to a date-time qword value.

Syntax/Parameters

Syntax

qword  = UnixToDate ( int unix );

Parameters

unix

An int containing a date and time in seconds since midnight January 1, 1970.

Return Value

Returns a qword containing a date/time value or 0 on failure. Use the GetLastError function to return a formatted error code.

Remarks

This function converts the time in seconds since midnight January 1, 1970 to time in 100-nanosecond intervals since January 1, 1601.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic