>
> list = []
> import datetime
> currentdate = datetime.datetime.now()
> for row in db(db.employee.time == currentdate).select():
>     list.append(row.empdetail)
>

I don't quite understand what you are doing, but one problem is that 
datetime.datetime.now() is the current date and time (down to the 
millisecond), so it isn't going to match the db.employee.time value of any 
records that were previously entered in the db (unless the record was 
inserted less than 1 millisecond in the past, which seems unlikely).

Anthony

Reply via email to