Vbscript-date-function
提供:Dev Guides
VBScript日付関数
この関数は、現在のシステムの日付を返します。
構文
date()
例
<!DOCTYPE html>
<html>
<body>
<script language = "vbscript" type = "text/vbscript">
a = date()
document.write("The Value of a : " & a)
</script>
</body>
</html>
lとして保存してInternet Explorerで実行すると、上記のスクリプトは次の結果を生成します-
The Value of a : 19/07/2013