StrLib.formatTime

日期时间函数 StrLib.formatTime 将参数格式定义为时间值并返回类型为 STRING 的值。缺省格式为当前语言环境格式。


strLib.formatTime 语法图
result
类型为 STRING 的变量。
timeValue
输入类型为 TIME 的字段或系统变量 DateTimeLib.currentTime
timeFormat
标识格式。可以使用字符串或下列任何一个常量:
  • StrLib.isoTimeFormat
  • StrLib.eurTimeFormat
  • StrLib.jisTimeFormat
  • StrLib.usaTimeFormat

相关参考
EGL 库 StrLib
定义格式的属性

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