AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
*     R0 !     10-digit hexadecimal string giving the time to be converted. Does not require termination, but will be corrupted.
                If 0, current realtime is used.
          R1 !     format string, ctrl terminated.
*     R0 !     resulting string, CR terminated.
Not re-entrant.

Converts a given 5-byte realtime to a string, using Territory_ConvertDateAndTime and the configured settings for timezone and dst offsets.

Example
ddu_ConvTime Basic example:
SYS "ddu_RealTime" TO RT$
SYS "ddu_ConvTime",RT$,"%24:%mi" TO T$
is equal to
SYS "ddu_ConvTime",,"%24:%mi" TO T$
(see 'Format field names' (PRM 1-402) for details of the format string)

[sh-index] Back to list of manuals