Difference between revisions of "Command/currenttime"

From ConTeXt wiki
 
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>currenttime</syntax>
 
<syntax>currenttime</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 14:50, 13 October 2019

\currenttime

Syntax (autogenerated)

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


Syntax

\currenttime[...,...,...]
[...,...,...]


Description

Display the current time.

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).

Example

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

See also

\date

Help from ConTeXt-Mailinglist/Forum

All issues with: