Difference between revisions of "MC-Basic:TIME"

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

Latest revision as of 09:09, 2 May 2017

Language: English  • 中文(简体)‎

TIME sets the current time of day. Hours, minutes and seconds are each specified using two digits. TIME uses a 24 hour clock.

Syntax

Time <hours><minutes><seconds>

Availability

All versions

Type

Long

Range

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

Scope

Terminal

Limitations

Write only

Examples

Time 151525                                                           ‘set time to 15:15:25

See Also