+ Reply to Thread
Results 1 to 2 of 2

Count occurance of a certain time of day between two dates

Hybrid View

  1. #1
    Registered User
    Join Date
    09-26-2003
    Posts
    17

    Arrow Count occurance of a certain time of day between two dates

    Can anyone provide a simple formula that will calculate the number of times 0600hrs appears between two dates?

    For example,

    start date 1/07/2010 12:44:54 AM and end date 14/07/2010 1:38:06 PM would return 14
    start date 1/07/2010 6:44:54 PM and end date 14/07/2010 1:38:06 PM would return 13
    start date 1/07/2010 12:44:54 AM and end date 14/07/2010 2:38:06 AM would return 13
    start date 1/07/2010 12:44:54 PM and end date 14/07/2010 12:38:06 AM would return 12

    Just can't seem to get my head around it.

    Thanks.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Count occurance of a certain time of day between two dates

    Maybr this:
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1