VBScriptの第二の機能
第2の機能は、秒数を0から59の間の分の数を返します。
文法
Second(time)
参数 | 描述 |
---|---|
time | 必需的。任何表示时间的表达式。 |
例
例2
<script type="text/vbscript">
document.write(Second(Now()))
</script>
document.write(Second(Now()))
</script>
上記の出力の例:
document.write(Second(Now()))
»をお試しください
完全なVBScriptのリファレンス