Changes

Jump to navigation Jump to search
474 bytes added ,  15:29, 25 August 2023
Added another example and fixed typos.
</cd:description>
<cd:examples><cd:example title="Example 1: The Current Date"><context source="yes" text="gives">
\currentdate
 
\currentdate[weekday,month,day,{, },year]
\currentdate[day,{.~},month,{~},year]
</context></cd:example><cd:example title="Example 2: Incrementing and Decrementing the Current Date"><context source="yes" text="gives">
Today it's is \currentdate.\blank
\increment\normalday
Tomorrow will be \currentdate.\blank
\decrement\normalday
 %\increment\normalmonth% -- gives and an erroras of 08-2023
\increment\normalyear
And today in a year will be \currentdate.
</context></cd:example><cd:example title="Example 3: Incrementing/and Decrementing the Current Date Locally"><context source="yes" text="gives">Today it's is \currentdate.\blank
\start\increment\normalday
Tomorrow will be \currentdate.\blankstop Yet today is \currentdate.</context></cd:example><cd:example title="Example 4: Incrementing and Decrementing the Current Date by N"><context source="yes" text="gives">Hello\dorecurse{1}{, Hello}. Today is \currentdate.\start\increment\normaldaySo tomorrow will be \currentdate\stop\start\dorecurse{3}{\increment\normalday}and in three days will be \currentdate.
\stop
Yet today is \currentdate.
</context>
Yet today it's still \currentdate(Note the usage of line breaking and blank lines in the source code to fit the PDF product.</context>)</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
194

edits

Navigation menu