Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JavaScript Date Reference
- Date Object
- The Date object is used to work with dates and times.
- Date objects are created with new Date().
- There are four ways of instantiating a date:
- var d = new Date();
- var d = new Date(milliseconds);
- var d = new Date(dateString);
- var d = new Date(year, month, day, hours, minutes, seconds, milliseconds);
- link:http://locinealy.com/2czx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement