Results 1 to 2 of 2
  1. #1
    christel is offline Novice
    Windows 8 Access 2007
    Join Date
    May 2015
    Location
    Pearl of The Orient Seas
    Posts
    4

    Need help with time difference query

    Help me please, what should I input in my query if I wanted to insert in the table the TotalNumberOfDays which is the difference of my FirstDateOccupied AND LastDateOccupied fields. I really need your help

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    You would not store a value that you can calculate whenever needed.
    You run a query and use the DateDiff() function.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 07-24-2014, 07:54 AM
  2. Time Difference
    By jlclark4 in forum Queries
    Replies: 4
    Last Post: 10-13-2011, 09:23 AM
  3. HELP! Elapsed Time Difference
    By accessineedhelp in forum Access
    Replies: 5
    Last Post: 08-31-2011, 06:00 PM
  4. working out time difference
    By moonman84 in forum Access
    Replies: 2
    Last Post: 06-29-2011, 03:33 AM
  5. Time difference
    By jguidry in forum Programming
    Replies: 1
    Last Post: 11-15-2008, 12:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums