Using Non-UTC Date/Time Fields in 6.2

From the OLEDB Provider Technical Document:

It is still anticipated that some fields will not require date/time conversion, such as date only or time only type fields.  To accomplish this, the SECTABLEDEFs table has a new column named DATETIMETYPE.  This is a single character field that makes the following assumptions:

  1. If it contains a “D” or “T” (date only or time only respectively) it indicates to the OLE DB provider that this field does not require UTC conversion, and will therefore be passed through without alteration.
  2. “Z” is reserved, is unsupported by third party use, and is not guaranteed to be supported in future versions of SalesLogix.
  3. “U” (or any other value) indicates the default, and the date/time field is stored as UTC, and should be converted to the local time on the client machine.

The DB Manager will set these values appropriately when creating or altering tables with date/time fields.  The user can specify a date only, time only or regular date/time field.

ABOUT THE AUTHOR

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!