Microsoft Small Basic


Clock

This class provides access to the system clock

Properties

Time (This property is read-only.)

Clock.Time

Gets the current system time.

Date (This property is read-only.)

Clock.Date

Gets the current system date.

Year (This property is read-only.)

Clock.Year

Gets the current year.

Month (This property is read-only.)

Clock.Month

Gets the current Month.

Day (This property is read-only.)

Clock.Day

Gets the current day of the month.

WeekDay (This property is read-only.)

Clock.WeekDay

Gets the current day of the week.

Hour (This property is read-only.)

Clock.Hour

Gets the current Hour.

Minute (This property is read-only.)

Clock.Minute

Gets the current Minute.

Second (This property is read-only.)

Clock.Second

Gets the current Second.

Millisecond (This property is read-only.)

Clock.Millisecond

Gets the current Millisecond.

ElapsedMilliseconds (This property is read-only.)

Clock.ElapsedMilliseconds

Gets the number of milliseconds that have elapsed since 1900.

Operations