: datetime.now().time()) in Django
query.
Anyway, thanks for response
Regards,
L
On 31 Mar, 17:04, Brian Neal wrote:
> On Mar 31, 5:31 am, LD wrote:
>
> > OK, but Django do not provide 'time' lookup so my problem is 'how to
> > retrieve time part of datetime field in
On Mar 31, 5:31 am, LD wrote:
> OK, but Django do not provide 'time' lookup so my problem is 'how to
> retrieve time part of datetime field in a query'
Ok, then why are you storing date and time together when all you care
about is time? To me, when you have a DateTi
OK, but Django do not provide 'time' lookup so my problem is 'how to
retrieve time part of datetime field in a query'
On 31 Mar, 04:29, Brian Neal wrote:
> On Mar 30, 10:12 am, LD wrote:> Hi,
>
> > I don't have idea how to do simple task.
> >
On Mar 30, 10:12 am, LD wrote:
> Hi,
>
> I don't have idea how to do simple task.
> I have model with DateTimeField and I want to retrieve all objects
> that have time for example lower than 2pm.
>
> I know about Django queryset lookup like year, month, day. Is there
> something similar but for t
Hi,
I don't have idea how to do simple task.
I have model with DateTimeField and I want to retrieve all objects
that have time for example lower than 2pm.
I know about Django queryset lookup like year, month, day. Is there
something similar but for time? If not what is the simplest way to
accomp
5 matches
Mail list logo