thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject Re: Support for Date/Time data type
Date Mon, 11 Aug 2008 14:29:08 GMT
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


Mime
View raw message