Crystal Reports for Rational Application Developer 设计员指南
DTSToTimeField (DateTimeString)
说明
对指定的字符串求值并返回时间数据类型。
参数
DateTimeString 是一个包含日期值和时间值的字符串。
返回
时间值
操作
对指定的字符串求值并返回时间数据类型。
示例
DTSToTimeField ("2000/01/13 11:30:15")
返回时间值:11:30:15 am。输入的月份格式必须是 01 而不是 1。
注释
有关新公式,可使用
“CTime”
或
“TimeValue”
函数代替 DTSToTimeField。CTime 和 TimeValue 函数能够转换的字符串的类型较多。
Business Objects,SAP 子公司
http://www.china.businessobjects.com/
支持服务
http://www.china.businessobjects.com/support/
Web 上的产品文档
http://support.businessobjects.com/documentation/