[PyKDE] QDate compare probs
Ken Godee
ken at perfect-image.com
Sun Feb 8 10:42:01 GMT 2004
Ken Godee wrote:
> I'm trying to figure out if one date's <= to the other
> and having problems getting it to work.
>
> The two dates are fetched out of a db ......
>
> <DateTime object for '2004-02-07 00:00:00.00' at 8182e18>,
> 2004-02-07 00:00:00.00
>
> <DateTime object for '2004-01-15 00:00:00.00' at 8295c28>
> 2004-01-15 00:00:00.00
>
>
> convert to a QDate instance.........
>
I guess I was just trying to get to fancy......
if lcdate[0][0] >= cufill[13]:
Seems to work just fine.
Geeezz, I'm going to bed.
More information about the PyQt
mailing list