ms access - MSacces datedifference function doesn't work -


i'm trying use datediff function in query. gives me error when use though. have ms-access 2007. try use datediff function in query. need have difference between these times in minutes.

this want i'm trying do:

 datediff('n',[timeregistered],[timeresolved]) 

and error message:

you ommited operand or operator, entered invalid character or comma, or entered text without surrounding in quotation marks. 

then cursor goes first comma behind 'n'. i've searched microsoft site , syntax appears correct.

use:

datediff("n",[timeregistered],[timeresolved]) 

and/or:

datediff('n';[timeregistered];[timeresolved]) 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -