I have 2 dates with hours, I need to be able to calculate the period between one date and the other, I do not know how to do it, someone who can help me, the dates are string.
'Calculates the period between two date instances.
'This method returns a Period type with years, months, days, hours, minutes, seconds.
Sub PeriodBetween(Start As Long, EndTime As Long) AsPeriod
'Calculates the period between two date instances.
'This method returns a Period type with days, hours, minutes, seconds
Sub PeriodBetweenInDays (Start As Long, EndTime As Long) AsPeriod