nodejs protobuf timestamp example
Example: javascript grpc timestamp
const timestamp = google.protobuf.Timestamp.fromObject({
seconds: timeMS / 1000,
nanos: (timeMS % 1000) * 1e6
})
const timestamp = google.protobuf.Timestamp.fromObject({
seconds: timeMS / 1000,
nanos: (timeMS % 1000) * 1e6
})