Command/currenttime

From Wiki
< Command
Revision as of 14:59, 12 November 2021 by Taco (talk | contribs) (Created page with "Documentation for \currenttime")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\currenttime

Summary

The command \currenttime is used to display the current time

Settings

\currenttime[...,...]
[...,...]h m text

OptionExplanation
text a user-supplied separator

Description

Displays the current time in 24-hour format.

The optional argument specifies the output format. Available fields are: h and m

You can also insert delimiters between the fields (e.g. commas, spaces, see examples).

Examples

Example 1

\currenttime \par
\currenttime[h] \par
\currenttime[m] \par
\currenttime[h,{\,:\,},m] \par

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: