add in ptime to time convert