dates: Comparing just the date parts of datetimes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dantebothermy
    New Member
    • Nov 2008
    • 47

    dates: Comparing just the date parts of datetimes

    Is there a simple way to subtract the time from a datetime field, so when I compare dates, I'm always comparing the dates at 12:00 am?

    I'd really prefer not to convert all my dates to strings.

    Thanks,


    Dante
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    Here are some options.

    -- CK

    Comment

    • sagark
      New Member
      • Jan 2009
      • 12

      #3
      You can use 'DateDiff' function which the parameter you want.

      Comment

      Working...