5
\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?

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

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.