Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript grpc timestamp

const timestamp = google.protobuf.Timestamp.fromObject({
  seconds: timeMS / 1000,
  nanos: (timeMS % 1000) * 1e6
})
Source by github.com #
 
PREVIOUS NEXT
Tagged: #javascript #grpc #timestamp
ADD COMMENT
Topic
Name
7+1 =