slicing time off of datestring