fixed dates so that models on server are all integers. made the 1s loop ...

...way more efficient