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 / May 2007

Tip: Looking for answers? Try searching our database.

Date Calculation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kirt84 - 17 May 2007 17:05 GMT
I have two date fields in the format of dd/mm/yyyy. I want to be able to do a
calculation where it calculates the difference between the two dates.
Therefore the output will display the number of days.
Signature

Thank you for your help

KARL DEWEY - 17 May 2007 17:07 GMT
Use DateDiff function.
Signature

KARL DEWEY
Build a little - Test a little

> I have two date fields in the format of dd/mm/yyyy. I want to be able to do a
> calculation where it calculates the difference between the two dates.
> Therefore the output will display the number of days.
Kirt84 - 17 May 2007 17:30 GMT
how does this work??
Signature

Thank you for your help

> Use DateDiff function.
>
> > I have two date fields in the format of dd/mm/yyyy. I want to be able to do a
> > calculation where it calculates the difference between the two dates.
> > Therefore the output will display the number of days.
fredg - 17 May 2007 19:42 GMT
> how does this work??
Use an unbound control on your form or report.
Set it's control source to:

=DateDiff("d",[Field1],[Field2])

This value should not be saved in any table.

Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
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



©2008 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.