PA_FormatTime

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_FormatTime (value; formatNum; result)

ParameterTypeDescription
valuelongThe time to format
formatNumshortFormat to use
resultchar *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


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next