edit time parse method