MC-Basic:SYSTEM.TIME

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This command queries or sets the current time of day. Hours, minutes, and seconds are each specified using two digits. The softMC uses 24 hour clock notation.

Syntax

Sys.Time = “<hours>:<minutes>:<seconds>

System.Time = “<hours>:<minutes>:<seconds>

Availability

All versions

Type

String

Range

<hours>: 00 to 23
<minutes>: 0 to 59
<seconds'>: 0 to 59

Scope

Terminal

Examples

System.Time = “15:15:25”                                       ‘set time to 15:15:25

See Also