timeStampValue()

函数 DateTimeLib.timeStampValue 返回一个 TIMESTAMP 值,该值反映字符串常量或文字,并且是根据缺省时间戳记掩码(即 yyyyMMddHHmmss)构建的。

输入字符串必须包含 14 位数字:

如果希望指定 yyyyMMddHHmmss 之外的掩码,则调用 DateTimeLib.timestampValueWithPattern

  DateTimeLib.timeStampValue(timeStampAsString STRING in)
  returns (result TIMESTAMP)
result
类型为 TIMESTAMP 的变量。
timeStampAsString
包含含义由时间戳记掩码 yyyyMMddHHmmss 指示的 14 位数字的字符串常量或文字

相关概念
EGL 函数的语法图

相关参考
日期时间表达式
TIMESTAMP
timeStampValueWithPattern()

使用条款 | 反馈
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.