Practical usage of operations in JavaScript

Let's find out how many seconds are in an hour. As you know, there are 60 seconds in a minute, and 60 minutes in an hour. Therefore, to find the number of seconds in an hour, you need to multiply 60 by 60:

alert(60 * 60);

Find the number of seconds in a day.

Find the number of seconds in 30 days.

Find the number of seconds in a year.

Find the number of minutes in a day.

Find the number of minutes in a year.

Find the number of bytes in a megabyte.

Find the number of bytes in a gigabyte.

Find the number of bytes in 10 gigabytes.

Find the number of bytes in a terabyte.

Find the number of kilobytes in a terabyte.

enru