uid and timestamp convert