0
let today = new Date();

how we can convert regular js date to protobuf Timestamp?

Mariik
  • 135
  • 2
  • 11
  • already answered here => https://stackoverflow.com/questions/54849843/how-can-i-test-google-protobuf-timestamp-in-javascript – gowtham758550 Jun 29 '22 at 11:45

1 Answers1

0

Ok, thats the regular "toISOString" method

Mariik
  • 135
  • 2
  • 11
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jun 30 '22 at 05:06