Hi,
A am developing a PHP simple interface for google protobuffer... i am
trying to make querys agains android Market but when uy get the
comments i get the data in a 64 bit format..
for example i get 18288305805871599558 that un "normal" unxi time is
1269993068322 that can be formated with date(
Hi,
I am developing a custom (and more simple) protobuff class for php.
The problem I have is with date format that is stored as uint64. For
example in a stream I have get from google Iknow that the “creation
time” is satored in a bytearray with A7-DE-A5-89-F9-24-2A-14 if I
convert this to uint64
19 abr, 16:31, ikalbeniz wrote:
> Hi,
>
> I am developing a custom (and more simple) protobuff class for php.
> The problem I have is with date format that is stored as uint64. For
> example in a stream I have get from google Iknow that the “creation
> time” is satored in a bytea
i have used this API to access to android market:
http://code.google.com/p/android-market-api/ (uses google-protobuff-
api)
i have get all the comments from an app and i get that one of the
comments date is 1269450764071 (the one from ikalbeniz)
in my custom class all the HTTP protocol is
nsigned I get: 1453014483955211943
>
> >> Treat it as a variant, though, and you get:
>
> >> (handle continue bits)
> >> 0100100 001 0001001 0100101 100 0100111
> >> (normalize)
> >> 01 00100111 100