This 3 line code sample assigns the current time of day as a string to the Text property of a label control named Label1. It retrieves the system time using the TimeOfDay property and converts it to a string using CStr for display in the label.Read less