retrieving magnitude in a period of time