Get the number of seconds/milliseconds in leap/noleap year.