Possible bug with date-time list

Possible bug with date-time list

I have a records with date-time values ( Program_Starts), and have copied some of the values below to explain what I'm seeing

29-Apr-2014 13:00:00, 29-Apr-2014 17:00:00, 30-Apr-2014 09:00:00, 30-Apr-2014 13:00:00, 30-Apr-2014 17:00:00, 01-May-2014 09:00:00

What I'm trying to do it make a list of records that only have date-time values after today.

Here's my code

class_list = (Classes[(Program == "XYZ" && Program_Starts > zoho.currentdate)].Program_Number).getall();

When I run this, it returns all Program_Numbers, seemingly ignoring  Program_Starts > zoho.currentdate

Is this a bug, or is my code logic wrong?


Cheers,
John Whitney