I'm using this code trying to achieve a 24 hour clock variable.
Dim varStartTime As Date, varEndTime As Date
varStartTime = "10:00"
varEndTime = "14:00"
varStartTime = Format(varStartTime, "short time")
varEndTime = Format(varEndTime, "short time")
But I keep getting AM/PM values.
Dim varStartTime As Date, varEndTime As Date
varStartTime = "10:00"
varEndTime = "14:00"
varStartTime = Format(varStartTime, "short time")
varEndTime = Format(varEndTime, "short time")
But I keep getting AM/PM values.