This function will return what you are looking for. A couple of notes- 1. The finest granularity is minutes. 2. It will not work with 2 dates 5 minutes or less apart.
Function QuarterHour(dteDate1 As Date, dteDate2 As Date) As Double
Dim strString As String
strString = 1 / (10 / (DateDiff("n", dteDate1, dteDate2) / 6))
If InStr(strString, "."

> 0 Then
Select Case Mid(strString, InStr(strString, "."

, Len(strString))
Case 0 To 0.25
strString = Left(strString, InStr(strString, "."

) & "25"
Case 0.251 To 0.5
strString = Left(strString, InStr(strString, "."

) & "50"
Case 0.501 To 0.75
strString = Left(strString, InStr(strString, "."

) & "75"
Case Else
strString = Left(strString, InStr(strString, "."

- 1) + 1
End Select
End If
QuarterHour = strString
End Function