Hey,

have you cnsidered sending milliseconds since Epoch?

Extract the time from a Date object: Long dt = new Date().getTime();

I haven't used the Timestamp message, so I don't know how to use that.

On Saturday, 28 October 2017 03:31:43 UTC+2, [email protected] 
wrote:
>
> I would like to know the best way to send DateTime objects to and from a 
> GRPC service.
>
> Should I just be sending a string to/from GRPC? 
>
> I see there is a Timestamp object but it seems to be not what I'm looking 
> for, I think?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/318380b4-bf39-44bc-8d1e-3eef4927bf1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to