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

FormatTimestamp2

BOOL

Input

liTimestamp

Timestamp

The timestamp to format

iOffset

INT

UTC offset (-1 indicates that the utc time should be converted to the local time)

cbsResult

REFERENCE TO CharBufferString

The string, where the result will be stored

sDateFormatPattern

STRING

‘’

optional date format

sTimeFormatPattern

STRING

‘’

optionale time format