[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
__UNPACKTIME
unpack a Time formatted number to a time string
------------------------------------------------------------------------------
Function:
__UNPACKTIME:FAR
Description:
This function takes a numeric value in AX (see __PACKTIME), and
returns a var of the form HH:MM:SS in DX:AX. It's the complement
of _PACKTIME.
Example:
if you would want a function, let's say Dos2Time() that converts a
Numeric DOS Time var to a Clipper Time string, you could do as follow:
Dos2Time(nVar) --> cTime
mov ax,1
push ax
call __PARNI
add sp,2
call __UNPACKTIME
push dx
push ax
call __RETC
add sp,4
ret
Note that XPunpackTime() does it slightly differently.
See Also:
__UNPACKDATE
__PACKTIME
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson