cast to timestamp in transactionopenhelper