Menu

select datediff(...) as intDate??

Help
farracer
2015-04-10
2015-04-11
  • farracer

    farracer - 2015-04-10

    Is it possible to do something like "SELECT datediff(day, '1900.1.1', '1900.1.2' ) as intDate"??

    Atm I'm getting an unexpected end of statement error

    thx for help
    farracer

     
    • Gord Thompson

      Gord Thompson - 2015-04-10

      I just tested

      SELECT DateDiff('d', DateField1, DateField2) AS intDate FROM DateTest
      

      under UCanAccess 2.0.9.4 and it worked fine for me.

       
  • farracer

    farracer - 2015-04-11

    seem to work now....no idea what i did before.

    thx anyway:D

     

Log in to post a comment.