gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Hoe to send GPS data from GPSD to remote Server/databas


From: O'Connor, Daniel
Subject: Re: [gpsd-users] Hoe to send GPS data from GPSD to remote Server/database server
Date: Thu, 9 Apr 2015 20:35:54 +0930

> On 9 Apr 2015, at 20:33, O'Connor, Daniel <address@hidden> wrote:

>       tmp = ev['time'].split('.')
>       d = datetime.datetime.strptime(d[0])
>       d.replace(microsecond = int(tmp[1][0:3]) * 1000)

PS it would be really nice if the gps bindings converted the timestamp 
automatically :)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]