updated TP date functions