Command/currenttime

Unofficial ConTeXt Wiki mirror

Last modified: 2021-11-16

Summary

The command \currenttime is used to display the current time

Settings

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

Option Explanation
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: