Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
The datetime2 field from SQL Server is in the "yyyy-MM-dd HH:mm:ss" format (e.g.2014-09-15 10:56:19.39) using TIBCO DataDirect versions prior to 4.2, but the format changed to "yyyy-MM-ddTHH:mm:ss-Z" (e.g. 2014-09-15T10:56:19.393-04:00) after version 4.2.
1). With DD driver versions prior to 4.2, the returned format is: 2014-09-15 10:56:19.39 .
2). With DD driver version 4.2 and later, the returned format is: 2014-09-15T10:56:19.393-04:00 .Use the
latest version of the DD driver. To get the same string as older versions, use the XPATH expression :tib:format-dateTime('yyyy-MM-dd HH:mm:ss',<datetime2 field>) .