STR2TIME

Usage

TIBCO iProcess Workspace (Browser)

TIBCO iProcess Workspace (Windows)

Convert time string to the iProcess Engine format time.

Syntax

STR2TIME (timein, format)

where:

timein is a text string to be formatted.

format is a text string that contains the format of timein.

For possible date time formats, see the table listed in the DATETIME2STR expression.

Note: As iProcess does not include seconds in its time, the %H:%M:%S gets truncated and always returns %H:%M.

Returns

A time in the iProcess Engine format.

Example

This example returns "1992-10-19T08:23:45" in iProcess Engine time format.

STR2TIME ("1992-10-19T08:23:45","%Y-%m-%dT%H:%M:%S")

returns "08:23"