VBScriptの2番目の関数
❮完全なVBScriptリファレンス
Second関数は、分の秒を表す0から59までの数値を返します。
構文
Second(time)
Parameter | Description |
---|---|
time | Required. Any expression that can represent a time |
例
例1
<%
response.write(Second("13:45:21"))
%>
上記のコードの出力は次のようになります。
21
例2
<%
response.write(Second(Now()))
%>
上記のコードの出力は次のようになります。
28
❮完全なVBScriptリファレンス