I use the minimal from 3 days ago.

Here is what I do actually.

\def\mydate{\doifnextcharelse\space\domydate\domydate }
\def\domydate #1/#2/#3{\date[d=#1,m=#2,y=#3][weekday,day+,month,year]}
\mydate 2/1/2011 --> Friday 2 january 2011

\date[d=2,m=1,y=2011][weekday,day+,month,year] --> Sunday 2 january 2011

Any ideas?

-- Cédric



On Fri, Oct 15, 2010 at 15:14, Peter Münster <pmli...@free.fr> wrote:
> \doifmodeelse{mkiv}{MKIV}{MKII}:
> Sunday = \date[d=2,m=1,y=2011][weekday] ?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to