TOTIME@

Platform

x64, Win32

Purpose

To return the time in the form "HH:MM:SS".

Syntax

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

Description

A value for SECS could be obtained, for example, via a prior call to FILEINFO@.
Alternatively, in order to display the current runtime, a prior call can be made to SECONDS_SINCE_1980@.
When running under x64, the current runtime is produced when SECS is set to zero.

Return value

Returns the time corresponding to SECS.

Notes

1) SECS is a 32 bit integer value and as a result this routine will fail for values after the equivalent of 19 January 2038.
2) When running under Win32, no adjustment is made for daylight saving.

See also

DATE_AND_TIME

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited