Comparing dates in an expression

  • Hi all

    I am currently trying to do a count on the number of entries that exist in a table that have a date greater than today. I know for a fact there should be 1, but for some reason it always generates a count of a lot more than that. I am using the following expression:

    =Count(Fields!Target_Date.Value > Today())

    Any ideas why this does not work?

    I have changed the language settings to be en-gb

    Thanks

  • If you want to get it through T-sql then u can try with SQldiff() function.

    java[/url]

  • I am using a Sharepoint list as my datasource so don't think I can do it that way.

    Thanks though

  • This may not be relevant on your system ... on the system I work with a null date is counted as being greater than SYSDATE.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply