fix time conversion

The time conversion wasn't working, it was 2 years behind. This seems to work.