Difference between revisions of "Date and Time formats in Content Manager OnDemand"

Jump to navigation Jump to search
Added ODWEK Date Format.
m (Formatting change...)
(Added ODWEK Date Format.)
Line 80: Line 80:


When a user submits a query through a folder, they enter the date (and/or time) in the format specified in the Folder definition, which is then converted into the format defined in the Application Group, then the search is performed in the database, and the results are converted back into the Folder format, and displayed for the user.
When a user submits a query through a folder, they enter the date (and/or time) in the format specified in the Folder definition, which is then converted into the format defined in the Application Group, then the search is performed in the database, and the results are converted back into the Folder format, and displayed for the user.
=== ODWEK Java API Date Formats ===
When using the Content Manager OnDemand Web Enablement Kit ("ODWEK") Java API version v9.5 or higher to load reports into IBM CM OnDemand with the [https://cmod.wiki/dox/ODapiDoc/v10.1/com/ibm/edms/od/ODServer.html#loadInit() ODServer.loadInit()], [https://cmod.wiki/dox/ODapiDoc/v10.1/com/ibm/edms/od/ODServer.html#loadAddDoc(int,%20java.util.Hashtable,%20byte%91;%93;) ODServer.loadAddDoc()] and [https://cmod.wiki/dox/ODapiDoc/v10.1/com/ibm/edms/od/ODServer.html#loadCommit(java.lang.String,%20java.lang.String) ODServer.loadCommit()] calls, date and date & time fields *must* be in ISO format.
The ISO format is supported directly by the database engine, and isn't subject to any conversion or reformatting as per the Application definition.  Dates must be provided in the "YYYY-MM-DD" format, or for Date and Time formats, "YYYY-MM-DD HH:MM:SS.FFFFFF".


== History ==
== History ==

Navigation menu