Date.toDateString

[Fri Apr 1 2006]の形式で日付を得る

構文

dateObject.toDateString()

例文

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

<body>

<!--[Fri Apr 1 2006]の形式で日付を得るのサンプル-->
<script type="text/javascript">
dateObject = new Date();
document.write(dateObject.toDateString());
</script>

</body>
</html>

関連記事

スポンサーリンク

Date.toLocaleDateString

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

上に戻る