Date.setMinutes

分の値を設定

構文

dateObject.setMinutes(min,sec,millisec)

引数

min=分, sec=秒(省略可能), millisec=ミリ秒(省略可能)

例文

<html>
<head>
<title>Date.setMinutes</title>
</head>

<body>

<!--分の値を設定のサンプル-->
<script type="text/javascript">
var dt = new Date();
dt.setMinutes(1);
document.write(dt);
</script>

</body>
</html>

関連記事

スポンサーリンク

onBeforeUnload

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る