Function Conv2Time(Time_in_num)
Time_in_num=CStr(Time_in_num)
Time_in_num=Replace(Time_in_num,".","'")
If Not Instr(Time_in_num,"'") Then Time_in_num=Time_in_num & "'"
If Right(Time_in_num,1)<>"'" Then Time_in_num=Time_in_num & """"
Conv2Time=Time_in_num
End Function