IBM Lotus Symphony
|
返回一个整数,表示由 TimeSerial 或 TimeValue 函数生成的时间值字符串对应的秒数。
Second (Number)
整数
Number:数字表达式,包含用于计算秒数的时间值字符串。
此函数是 TimeSerial 函数的逆函数。它返回由 TimeSerial 或 TimeValue 函数生成的时间值字符串中的秒值。例如,表达式:
Print Second(TimeSerial(12,30,41))
返回值 41。
Sub ExampleSecond
MsgBox "The exact second of the current time is "& Second( Now )
End If