FormatTimestamp2 (FUN)¶
FUNCTION FormatTimestamp2 : BOOL
This method extends the format timestamp to support the utc offset conversion calling FB_Exit does not hurt because so far only on CharBufferString instances that operate on local buffers (ie. nothing done in FB_Exit at all)
- InOut:
Scope
Name
Type
Initial
Comment
Return
FormatTimestamp2BOOLInput
liTimestampThe timestamp to format
iOffsetINTUTC offset (-1 indicates that the utc time should be converted to the local time)
cbsResultREFERENCE TO CharBufferString
The string, where the result will be stored
sDateFormatPatternSTRING‘’
optional date format
sTimeFormatPatternSTRING‘’
optionale time format