[Tutor] Finding numeric day in a year...[SOLVED]
Ken G.
beachkidken at gmail.com
Sun Jun 29 01:08:33 CEST 2014
On 06/28/2014 04:35 PM, Mark Lawrence wrote:
> On 28/06/2014 19:39, Alan Gauld wrote:
>> On 28/06/14 18:59, Ken G. wrote:
>>
>> BTW You say you get it from "database on file".
>> Now if that is a real database such as SQLite you will find functions
>> there to convert it to julian at source... which is easier than reading
>> it as a string, parsing it, and then converting it back to a date
>> again...
>>
>
> Well spotted :) Ken G. please see
> https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters
Thank you. Will take a look at it.
Ken
More information about the Tutor
mailing list