compare two dates

BlitzPlus Forums/BlitzPlus Programming/compare two dates

I know this is stupid, but is there an algorithim to determine if one date is less than the other? I mean like if one date is newer or older than the other? Thanks.