Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 13th, 2004, 01:56 AM
Registered User
 
Join Date: Dec 2003
Location: Whittier, California, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default calculate time between two dates

I am setting up an Access database that will count how many hours it take from the time a record is received to the time it is released. The two fields hold the date and time in this format 2/13/04 10:00PM. I want to calculate the time in hours between the two dates but not including weekends.
Ex. I would want the following example listed below to equal 60.5 hours

Received 2/13/04 10:00PM
Released 2/18/04 10:30AM

Note that I do not want it to count the weekends (2/14/04 & 2/15/04)

Does anyone know how to set this up?
Reply With Quote
  #2 (permalink)  
Old February 13th, 2004, 11:38 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

Here is an article that will help with converting the time your looking for.

http://support.microsoft.com/default...b;EN-US;210604

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate a number between two dates in time t400 SQL Server 2000 8 September 5th, 2006 01:14 PM
Urgent! how to calculate difference between dates Subuana Beginning VB 6 2 March 22nd, 2006 05:34 PM
How to calculate the work days beetwen two dates. andres_pm Javascript 1 October 7th, 2004 06:23 AM
how to calculate difference in dates ashu_gupta75 Excel VBA 3 August 9th, 2004 06:11 AM
How to Calculate dates in datagrid columns chiefouko VS.NET 2002/2003 2 July 15th, 2004 01:24 AM



All times are GMT -4. The time now is 10:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.