DateTime comparisons

Posts   
 
    
JAgiato
User
Posts: 4
Joined: 12-Jul-2005
# Posted on: 12-Jul-2005 21:43:58   

Hello all,

I have been trying to create a couple IPredicateExpressions for date comparisons and am running into some snags. Here is what I am looking to do:

Lets say we have a DateTime object called after. We are looking to create a predicate for all dates after this date. Conversely, we are also trying to create a predicate for another date which would return all before the date.

I am sure this is an easy thing to do but for the life of me I can't seem to get it right. Any help is greatly appreciated!

Thanks!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 13-Jul-2005 10:31:25   

If I understand it correctly, aren't those just CompareValue predicates? What have you tried yourself which failed and could you also elaborate a bit what the results were of what you tried so I'll have a better understanding what you're trying to achieve? Thanks.

Frans Bouma | Lead developer LLBLGen Pro
JAgiato
User
Posts: 4
Joined: 12-Jul-2005
# Posted on: 14-Jul-2005 00:26:14   

Hi Otis,

Thank for the assistance. We figured it out. Chalk another one up to staring at the same screen for too long. ;-)

Best,

Jon