You will need to do a few multiplications. First, you have to know that a year equals to 365.2422 days. Each day has 24 hours. Each hour has 60 minutes and each minute has 60 seconds. Each second has, consecutively, 1000 milliseconds. So, you have to multiply all these numbers and get 31 622 400 000 ms.