Gets the milliseconds component of the date represented by this instance.
Imports System.Globalization
Module MainClass
Public Sub Main()
Dim date1 As Date = New Date(2010, 1, 1, 0, 30, 45, 125)
Console.WriteLine("Milliseconds: {0:fff}", date1) ' displays Milliseconds: 125
End Sub
End Module
Related examples in the same category