2020年8月6日 星期四

vb.net 從秒數轉成完整時間 [Get time from second]

1
2
3
4
    Private Function getTimeFormate(ByVal seconds As Double) As String
        Dim hms As TimeSpan = TimeSpan.FromSeconds(seconds)
        Return hms.ToString("hh\:mm\:ss\,fff")
    End Function

沒有留言:

張貼留言