You asked:

how many milliseconds in a year

  • 1 year = 31,557,000,000 milliseconds.