Difference between revisions of "MC-Basic:SYSTEM.TIME"

From SoftMC-Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
 +
{{Languages|MC-Basic:SYSTEM.TIME}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Latest revision as of 07:13, 2 May 2017

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