Command/currenttime
< Command
Jump to navigation
Jump to search
Contents
\currenttime
Summary
The command \currenttime is used to display the current time
Settings
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