Share via


Small Basic Reference Documentation: Clock Object

Small Basic: Reference Documentation > Clock
 

 

http://smallbasic.com/img/object_32.png

Clock

This class provides access to the system clock

Properties

http://smallbasic.com/img/property_16.png Time (This property is read-only.)

Clock.Time

Gets the current system time.

http://smallbasic.com/img/property_16.png Date (This property is read-only.)

Clock.Date

Gets the current system date.

http://smallbasic.com/img/property_16.png Year (This property is read-only.)

Clock.Year

Gets the current year.

http://smallbasic.com/img/property_16.png Month (This property is read-only.)

Clock.Month

Gets the current Month.

http://smallbasic.com/img/property_16.png Day (This property is read-only.)

Clock.Day

Gets the current day of the month.

http://smallbasic.com/img/property_16.png WeekDay (This property is read-only.)

Clock.WeekDay

Gets the current day of the week.

http://smallbasic.com/img/property_16.png Hour (This property is read-only.)

Clock.Hour

Gets the current Hour.

http://smallbasic.com/img/property_16.png Minute (This property is read-only.)

Clock.Minute

Gets the current Minute.

http://smallbasic.com/img/property_16.png Second (This property is read-only.)

Clock.Second

Gets the current Second.

http://smallbasic.com/img/property_16.png Millisecond (This property is read-only.)

Clock.Millisecond

Gets the current Millisecond.

http://smallbasic.com/img/property_16.png ElapsedMilliseconds (This property is read-only.)

Clock.ElapsedMilliseconds

Gets the number of milliseconds that have elapsed since 1900.

 

See Also

Other Languages