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

本文介绍了dm_docbase_config中的r_normal_tz字段作用:它决定了日期值的存储方式。对于新创建的仓库,默认采用UTC时间存储所有日期值;而对于从早期版本升级的仓库,则按服务器本地时间存储。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

    在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.

转载于:https://www.cnblogs.com/xioxu/archive/2010/03/10/1682789.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值