basic time/date parsing and storing