Difference between revisions of "Command/referraldate"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(Description, example, see also)
Line 12: Line 12:
  
 
== Description ==  
 
== Description ==  
 +
Prints the date in a form used in, especially, reference numbers: 25-04-2012 becomes 20120425.
  
 +
== Example ==
 +
<context source=yes>
 +
\referraldate
  
 
+
% The date this snippet was compiled may not match the current date.
== Example ==
+
</context>
<!-- Please fill in an example if you can -->
 
  
 
== See also ==
 
== See also ==
<!-- something like {{cmd|goto}} -->
+
* {{cmd|currentdate}} for printing the current date in any format.
 +
* {{cmd|date}} for printing any date in any format
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 16:05, 25 April 2012

\referraldate

Syntax

\referraldate

Description

Prints the date in a form used in, especially, reference numbers: 25-04-2012 becomes 20120425.

Example

\referraldate

% The date this snippet was compiled may not match the current date.

See also

  • \currentdate for printing the current date in any format.
  • \date for printing any date in any format

Help from ConTeXt-Mailinglist/Forum

All issues with: