# MX\_FTFORMAT
> [HTML Version](mx_ftformat.htm)
**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](num.htm.md)) \[in\]
File time in the format returned by MX\_FILESTATS (seconds since 1970)
_strtime_ ([String](string.htm.md), 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](num.htm.md)) \[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](https://en.wikipedia.org/wiki/Year_2038_problem). Note that you have to specify a parameter type capable of supporting more than 32 bits, e.g. B6 or F6.