answersLogoWhite

0


Best Answer

<script>

var day;

day = new Date();

var milli = day.getTime(); // returns milliseconds that have elapsed since 1/1/70

var year = day.getFullYear(); // returns the Year

var month = day.getMonth(); // returns the month (0-11 January = 0)

var dayofmonth = day.getDate(); // returns the day of the month

var day2 = day.getDay(); // returns the integer day of the week (Sunday = 0)

var hour = day.getHours(); // returns the integer hour (0 -> 23)

var minute = day.getMinutes(); // returns the Minute (0 - > 59)

var second = day.getSeconds(); // returns the Second (0 -> 59)

You can write out the date or time using document.write()

document.write("The date is " + (month + 1) + "/" + dayofmonth + "/" + year);

</script>

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What day is it today or what day is today?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you spell tommorow?

The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.The day after today is tomorrow.


What day is it if today is tomorrows today yesterday today?

It is this day, today,,,Saturday; The same day that the question is asking.


How do you say what day is today?

"What day is today?"


Is today opposite day?

Today is 'NOT' opposite day!


What is the duration of Today's the Day?

The duration of Today's the Day is 1500.0 seconds.


When the day before yesterday was as far away from Thursday as the day after tomorrow will be from today what day is today?

Monday


Puzzle - If today is Tuesday what is the day after the day before the day?

If todays is Tuesday - The day after the day before today is trouble.


When was Today's the Day created?

Today's the Day was created on 1993-07-12.


When did Today's the Day end?

Today's the Day ended on 1999-03-12.


Which one is right what day is it today or what day is today?

These are both acceptable although people would be more likely to ask "what day is it?" than "what day is today?".


When the day after tomorrow is yesterday today will be as far from Sunday as today was from Sunday when the day before yesterday was tomorrow what is the day today?

Sunday


What day was it today 23 years ago?

There was a day 23 years ago that people of that time called "today". But it wasn't the same "today" that you and I know. It was a different day. Today, it's always "today". But yesterday, today was tomorrow.