I am writing a function that returns the time remaining in an auction. The database part is fine, my problem is the calculation of days, hours, minutes and seconds remaining. Below is my code...
Public Function GetTimeRemaining(ByVal inItemNum As Integer) As String
Dim endDate As Date
Dim...