Results 1 to 3 of 3
  1. #1
    cap.zadi is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Time Diff Calculations inside Query.

    Hey there,



    Sorry to bother you there. i am sure some one will come up with solution.

    I have one query where looking to calculate the diff of time like.

    StopTime: 07:00AM
    RestartTime: 07:00PM

    it works but if i go in reverse from PM to AM so it shows the Minus values.

    please advise which format i shell i keep for date fields so calucaltions can be correct one.

    thanks

    zee

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Instead of calculating using just the Time, you could try calculating using the Date AND Time.

  3. #3
    cap.zadi is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    well, yes thanks its been solved already. i shoud keep the field format as General Date and use the date and time bcz when it said 7pm to 7 am so means date change to next day. anyways thanks for advise.

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

Similar Threads

  1. Button to run Update Query in Diff Database
    By Juan4412 in forum Queries
    Replies: 8
    Last Post: 06-24-2011, 05:45 AM
  2. time calculations
    By venu in forum Database Design
    Replies: 1
    Last Post: 10-23-2010, 12:36 PM
  3. Check time Diff.
    By wes028 in forum Access
    Replies: 3
    Last Post: 03-08-2010, 10:05 AM
  4. Replies: 4
    Last Post: 01-15-2010, 06:06 AM
  5. Time calculations
    By jimandann in forum Programming
    Replies: 2
    Last Post: 02-18-2009, 12:27 AM

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