John, I have replaced my code with the code you provided:
> if len(str(request.now.hour)) < 2 : > hourminute= '0'+str(request.now.hour) + ':' + str > (request.now.minute) > else > hourminute=str(request.now.hour) + ':' + str > (request.now.minute) > lack of '0' would give you a 'no match' against the database I'll see if it works tomorrow morning. Thanks for giving an explanation as well. 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 -~----------~----~----~----~------~----~------~--~---

