Command/currenttime

From Wiki
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: