Results 1 to 2 of 2
  1. #1
    waqas is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    117

    Cool Round Time in access

    hi all,



    how can i round time in access in query?
    i want to round 15 minutes in this way.

    1 to 14 should last hour like 03:01 to 03:14 should be 03:00
    15 to 44 should last hour like 03:15 to 03:44 should be 03:30
    45 upto next hrs 14 same like 03:45 to 04:14 should be 04:00


  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,598
    There is no intrinsic function for this, will have to write code.

    Google: VBA round time

    Here is one http://bytes.com/topic/access/answer...-rounding-time
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Round up issue?
    By Hammer in forum Access
    Replies: 3
    Last Post: 12-13-2012, 12:46 PM
  2. Round the time to Integer values
    By krkow in forum Access
    Replies: 9
    Last Post: 06-15-2011, 11:23 AM
  3. Replies: 2
    Last Post: 12-23-2010, 09:11 AM
  4. Round up time half an hour
    By JBM18 in forum Queries
    Replies: 2
    Last Post: 12-09-2010, 11:56 AM
  5. Round Up/Down 4 Decimals to 2
    By newbie in forum Access
    Replies: 6
    Last Post: 10-18-2010, 02:58 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