ClassMicrosoft.VisualBasic.DateAndTime SyntaxDim result As String = DateAndTime.TimeString or: DateAndTime.TimeString = newTime
DescriptionThe TimeString property gets or sets the current system time. The first syntax returns a string representing the current system time in the "HH:mm:ss" format, which uses a 24-hour clock. The second syntax sets the current system time using a string that is in any system-recognized time format. Usage at a Glance
Version DifferencesThe TimeString property is new to VB under .NET. See AlsoTimeOfDay Property, TimeSerial Function, TimeValue Function |