Difference between revisions of "Command/month"

From Wiki
Jump to navigation Jump to search
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ")
 
(7 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>month</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 21: Line 23:
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source=yes>
 +
% In English, months have initial capitals even in lowercase text.
 +
\month{1}--\month{6}
 +
 
 +
\language[ro] % merely changes the hyphenation language
 +
\month{1}--\month{6}
 +
 
 +
\mainlanguage[ro] % changes the language the document is in
 +
\month{1}--\month{6}
 +
</context>
 +
 
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|MONTH}} for the month in all caps
 +
* {{cmd|weekday}} and {{cmd|WEEKDAY|}} to print days of the week
 +
* {{cmd|mainlanguage}} to choose the language the month appears in
 +
* This command uses the labels mechanism. See {{cmd|setuplabeltext}} and {{cmd|labeltext}} to set up and use your own labeled concepts.
  
== Help from ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|month]]
+
[[Category:Command/DateTime|month]]

Latest revision as of 14:50, 13 October 2019

\month

Syntax (autogenerated)

\month{...}
{...}number


Syntax

\month{...}
{...} number


Description

Produces the lowercase language label text for the month given by number, which should be between 1 and 12.

Example

% In English, months have initial capitals even in lowercase text.
\month{1}--\month{6}

\language[ro] % merely changes the hyphenation language
\month{1}--\month{6}

\mainlanguage[ro] % changes the language the document is in
\month{1}--\month{6}


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: