xcall MIAMEX, MX_FTFORMAT, ftime, strtime {,sdate, stime}
MX_FTFORMAT (MIAMEX 132) is used to format a numeric filetime of the type returned by MX_FILESTATS into a more friendly format.
ftime (Num) [in]
File time in the format returned by MX_FILESTATS (seconds since 1970)
strtime (String, 24+) [out]
Formatted time, e.g. "Sun Jul 31 16:02:41 2011"
sdate (B,4) [in/out]
If specified, returns the date corresponding to ftime. Can be passed to ODTIM for formatting.
stime (Num) [in/out]
If specified, returns the number of seconds since midnight. Can be passed to ODTIM for formatting.
History
2023 August, A-Shell 6.5.1740: Add support for additional timestamp bits (beyond 32) to resolve the Year 2038 problem. Note that you have to specify a parameter type capable of supporting more than 32 bits, e.g. B6 or F6.