-
-
Notifications
You must be signed in to change notification settings - Fork 4
libvlc.FormatTime
Andrew Lambert edited this page Sep 29, 2022
·
6 revisions
libvlc.FormatTime
Protected Function FormatTime(Milliseconds As Int64, FractionalSeconds As Boolean = False) As String
Formats the period of time denoted by Milliseconds
as HH:MM:SS
. For example:
FormatTime(6000000)="1:40:00"
FormatTime(60000)="1:00"
FormatTime(123456789)="34:17:36"
To include fractions of a second, pass True
for FractionalSeconds
:
FormatTime(6000000, True)="1:40:00.00"
FormatTime(60000, True)="1:00.00"
FormatTime(123456789, True)="34:17:36.79"
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.
Entry-level points of interest denoted by "☜"