12
02
2008
JavaScript - Objects - Date Object
Posted by: kaizenlog in JavaScript, tags: JavaScript - Objects - Date ObjectJavaScript - Objects - Date Object
JavaScript’s Date object provides methods for date and time manipulations.
Date and time processing can be performed based on the computer’s time zone or on UTC.
Methods of Date Object
- getDate(), getUTCDate() - Returns a number from 1 to 31 representing the day of the month in local time or UTC.
- getDay(), getUTCDay() - Returns a number from 0 to 6 representing the day of the week in local/UTC time.
- getFullYear(), getUTCFullYear() - Returns the year as a four-digit number in local time or UTC, respectively.
Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. You can also share this post with your friends by clicking on the 'ShareThis' button above. Thanks for visiting!









Entries (RSS)