Use an i64 and represent it as milliseconds since epoch.
-Bryan

On Aug 10, 2008, at 10:52 PM, kpowerinfinity wrote:

Hello,

I have been trying out thrift, and was looking at thrift documentation for a
way to serialize data of type date/time. However, I couldn't find any
documentation for that. I also checked out the lex files (thriftl.ll in the sources), but couldn't find any tokens to handle datetime kind of data. I wanted to send a field of type datetime to another service. Is this not supported? Or am I expected to convert them into standard strings and do the
message exchange?

Thanks, Krishna.

--
http://kpowerinfinity.blogspot.com

Reply via email to