Date.toLocaleTimeString
[00:00:00]の形式で時刻を得る
構文
dateObject.toLocaleTimeString()
例文
<html> <head> <title>Date.toLocaleTimeString</title> </head> <body> <!--[00:00:00]の形式で時刻を得るのサンプル--> <script type="text/javascript"> dateObject = new Date(); document.write(dateObject.toLocaleTimeString()); </script> </body> </html>
関連記事
- Date.UTC
- Date.toUTCString
- Date.toLocaleString
- Date.toGMTString
- Date.setUTCMonth
- Date.setUTCMilliseconds
- Date.setUTCHours
- Date.setUTCFullYear
- Date.setUTCDate
- Date.setTime
- Date.getUTCSeconds
- Date.getUTCMonth
- Date.getUTCMinutes
- Date.getUTCMilliseconds
- Date.getUTCHours
- Date.getUTCFullYear
- Date.getUTCDay
- Date.getUTCDate
- Date.toTimeString
- DateString.toLocaleUpperCase
- DateString.toLocaleLowerCase
- Date.toLocaleDateString
- Date.toDateString
- Date.setYear
- Date.setSeconds
- Date.setMonth
- Date.setMinutes
- Date.setMilliseconds
- Date.setHours
- Date.setFullYear
- Date.setDate
- Date.parse
- Date.getYear
- Date.getTimezoneOffset
- Date.getTime
- Date.getSeconds
- Date.getMonth
- Date.getMinutes
- Date.getMilliseconds
- Date.getHours
- Date.getFullYear
- Date.getDay
- Date.getDate
スポンサーリンク