Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

date difference expression

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PJ - 19 Jan 2008 15:02 GMT
I am using the DateDiff expression to obtain the difference between 2
dates.However I can't get it to run.How exactly is it entered into the query
.I am using MS 2002
Signature

Insurance Guy

Rick Brandt - 19 Jan 2008 16:18 GMT
> I am using the DateDiff expression to obtain the difference between 2
> dates.However I can't get it to run.How exactly is it entered into
> the query .I am using MS 2002

AliasName: DateDiff("x", FirstDateField, SecondDateField)

...where x is the interval you want to count ("d" = days, "h" = hours, etc.).
For more details see the help topic for the DateDiff() function.

Signature

Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt   at   Hunter   dot   com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.