📜  javascript grpc 时间戳 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:05.704000             🧑  作者: Mango
代码示例1
const timestamp = google.protobuf.Timestamp.fromObject({
seconds: timeMS / 1000,
nanos: (timeMS % 1000) * 1e6
})