devxlogo

SecondsToTime – Convert a number of seconds to a Date value

SecondsToTime – Convert a number of seconds to a Date value

' Converts a numeric value in seconds to a time value' Example:'    MsgBox SecondsToTime(11120) --> 3.5.20 AMFunction SecondsToTime(ByVal Seconds As Long) As Date        SecondsToTime = CDate(Seconds / 86400)    End Function

devx-admin

Share the Post: