The Time function returns the current time in a format such as the following:
In this case, time is represented by a 12–hour clock with an AM/PM indicator and no fractional seconds. The exact display format depends on your system configuration. Leading zeros are displayed.
The following example uses the Time function to return the current system time:
Dim MyTime MyTime = Time Println MyTime