PA_FormatTime


version 2003


PA_FormatTime (value; formatNum; result)

Parameter Type Description
value long The time to format
formatNum short Format to use
result char * Formated string of value

Description

The routine PA_FormatTime returns in result the string form of the time (passed as a long integer) you pass in value , according to the format that you specify in format .

This works like the String 4th Dimension function. Refer to the 4D Language Reference manual for more information, especially regarding possibles values for formatNum .

Depending on default settings or on previous call to PA_UsePStrings or PA_UseCStrings , result will be a Pascal or a C string.

See Also

Time .

Error Handling

PA_GetLastError

always returns eER_NoErr