Time$

From Compost Wiki
Revision as of 02:48, 18 September 2026 by FabienT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

See Also

CurrentTime$, Date$, TimeComment?