I'm a novice needing to convert a short time value to a decimal so that a calculation of Time X Rate of Pay can be made. I've tried the following Microsoft code after resetting the format to short time but I still get a short time result.
Public Function timetodec(Time1)
timetodec = CDbl(Time1) * 24
End Function
I'm stuck! please help
Public Function timetodec(Time1)
timetodec = CDbl(Time1) * 24
End Function
I'm stuck! please help