set timestamps as nanoseconds since the epoch; return Time object in helper

[#56734594]