I can't figure out how to convert 12:00:00 AM to number/decimal. I tried to convert the Time Format to "Short Time" or "h.mm" but it didn't work and it still returns 0.
Dim dbConvertTime as Double
Dim dtTime as Date
dtTime = Format("12:00:00 AM","Short Time")
dbConvertTime = (dtTime * 24)
*Output dbConvertTime = 0
I wanted convert the Time(12:00:00) to 24:00:00 because this data(12:00:00) returns 0 when multiplied by 24. The output should be = 576.00