6
\documentclass{article}
\usepackage{datetime}
\newdate{date}{19}{09}{2016}
\date{\displaydate{date}}

\displaydate{date}

When I run this it show date with day like:

Monday 19th September, 2016.

But I do not want appear the Monday. Anybody can help?

2
  • \showdowfalse in preamble to enable it in your whole document, or {\showdowfalse\displaydate{date}} for just the one time.
    – Runar
    Sep 14, 2016 at 14:52
  • "{\showdowfalse\displaydate{date}}" it works fine. Thank you Sep 14, 2016 at 15:34

2 Answers 2

9

You'll achieve this by using nodayofweek argument for you date presentation:

\documentclass{article}
\usepackage[nodayofweek,level]{datetime}
\newcommand{\mydate}{\formatdate{19}{09}{2016}}

\begin{document}
    \mydate
\end{document}

enter image description here

0
5

Consider migrating from the now-obsolete datetime to datetime2:

enter image description here

\documentclass{article}

\usepackage[en-GB,showdow=false]{datetime2}
\DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space}}

\DTMsavedate{date}{2016-09-19}

\begin{document}

\DTMusedate{date}

\end{document}

The key here is to remove the day of the week from the formatting via showdow=false.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .