how to calculate 1 millennium