This should work:

   timetable=db(db.timetable.from_time>=request.now).select
(db.timetable.ALL)

Did you try it? Let us know.

massimo

On Jun 17, 12:01 pm, annet <[email protected]> wrote:
> In a table I have a field in which the user enters a time in the
> following format: 19:30
>
> In one of my views I want to display records with a time >= the
> current time. What is the correct syntax to code this?
>
> timetable=db(db.timetable.from_time>=request.now.?????.select
> (db.timetable.ALL)
>
> Kind regards,
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to