TOEDATE@

Platform

x64, Win32

Purpose

To convert the time given to a date in the format DD/MM/YY (European format).

Syntax

CHARACTER (LEN=*) FUNCTION TOEDATE@(SECS)
INTEGER (KIND=3) SECS

Description

TOEDATE@ returns the date in textual format based on time given in the form: "29/01/93".
A value for SECS could be obtained, for example, via a prior call to FILEINFO@.
Alternatively, in order to display the date at the current runtime, a prior call can be made to SECONDS_SINCE_1980@.
When running under x64, the current date is produced when SECS is set to zero.

See also

DATE_AND_TIME

Notes

SECS is a 32 bit integer value. As a result this routine will fail for values that are after the equivalent of 19 January 2038.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited