JavaScript Web Tools Word Scramble
|
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Question | Answer |
Using a variable, how do you display today's date? | var today = new Date ( ); |
Using a variable, how do you display a specific date, including year, month, day, hours, minutes, seconds? | var y2k = new Date (2000, 0, 1); // will display Jan 1 2000 |
How do you get the month? | today.getMonth |
Created by:
kendraR
Popular Computers sets