Time$: Difference between revisions
Jump to navigation
Jump to search
New page: '''Time$''' The current time of day. ::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1" |'''ID''' || 2 |- | '''Date added''' || N/A |- |'''Type''' || Stri... |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Description|description=This command outputs the current time of day. The output string's format is based on the UI culture (i.e. the language used during installation). As a result, for US English installs, the command will always return an AM/PM string such as: "3:54 PM".}} | |||
{{Stats|id=2|type=String|class=All Machines|scope=|version=N/A}} | |||
===Notes=== | |||
When posting in silent mode, or when the post is run from a script, this command outputs nothing at all and the requested Time Format is ignored. [[Time$]] and [[Date$]] behave the same way. Posts should therefore not assume that a time will always be present in the output, and should not rely on its presence for line numbering, block counts or fixed-width formatting. | |||
: | ==See Also== | ||
| | [[CurrentTime$]], [[Date$]], [[TimeComment?]] | ||
[[Category:Comments]] | |||
[[ | |||
Latest revision as of 02:48, 18 September 2026
Description
This command outputs the current time of day. The output string's format is based on the UI culture (i.e. the language used during installation). As a result, for US English installs, the command will always return an AM/PM string such as: "3:54 PM".
Stats
ID 2 Type String Class All Machines Min Version N/A
Notes
When posting in silent mode, or when the post is run from a script, this command outputs nothing at all and the requested Time Format is ignored. Time$ and Date$ behave the same way. Posts should therefore not assume that a time will always be present in the output, and should not rely on its presence for line numbering, block counts or fixed-width formatting.