Results 1 to 2 of 2
  1. #1
    DubCap01 is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2014
    Location
    Dubbo, Australia
    Posts
    104

    Extract time as a positive value from Date/Time Stamp, to use for calculating

    Hi everyone in the Source of All Knowledge

    I have a table with many events created over a period of a month, so there's a date/time field relevant to each event. Within this date field is of course the full date/time stamp of the event creation. I can view it as 24-Mar-15, 24/03/2015 8:29pm, 8:29pm or 42087.85397 and you all know the rest.

    What I am trying to achieve is to extract the 8:29pm value so I can group it in one of either three time brackets, which are 7am-9:29am; 9:30am-5:59pm and; 6:00pm-22:59pm. So, I need to drop the DATE element.
    Then, using that value (and the values of all the other events within that month, group them together so I can report that n events occurred in the first time bracket, n events occurred in the second, and so on.

    Just not sure how to extract the time value so I can calculate with it.

    Anybody got any clues please?

    Thanks very much in anticipation


    Pete

  2. #2
    DubCap01 is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2014
    Location
    Dubbo, Australia
    Posts
    104
    going to re-ask this question in another format, therefore closing this question

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

Similar Threads

  1. Unix time stamp date and criteria
    By madrag in forum Queries
    Replies: 5
    Last Post: 12-15-2014, 03:39 AM
  2. Column history - date and time stamp
    By Hatye in forum Access
    Replies: 5
    Last Post: 11-15-2013, 01:26 PM
  3. Date and Time Stamp
    By zoooza84 in forum Access
    Replies: 2
    Last Post: 08-06-2011, 04:53 AM
  4. Replies: 12
    Last Post: 02-22-2011, 03:39 PM
  5. Replies: 4
    Last Post: 01-30-2010, 05:22 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