Documentum中关于日期时间类型字段的特殊处理

    在dm_docbase_config中,有个字段"r_normal_tz",文档上的解释是

Indicates the storage mode used for date values. 0 directs Content Server to store all date values in UTC time. A value other than 0 represents the time zone offset from UTC time used by Content Server to normalize all date values for storage. A time zone offset must be expressed as seconds. For example, if the offset is for PST (Pacific Standard Time), the value is ‑28800 (‑8*60*60). This defaults to 0 for a new 6.0 or later repository and to an offset representing the server local time for a repository that is upgraded from a pre‑6.0 release.

 

 All date and time values will be stored as the UTC (Coordinated Universal Time) in new repositories. This value can be resetted using ”r_normal_tz” attribute of the docbase config object.

 
All date and time values will be stored as the servers local time for the upgraded repositories. This value cannot ressetted for the upgraded repositories. Because “r_normal_tz” attribute is set with the offset value of the content server local time and it cannot be changed.

posted @ 2010-03-10 17:42  彷徨......  阅读(297)  评论(1编辑  收藏  举报