date parsing is almost done, need to calculate it