The best I've been able to do is with isodate. It's the only package I've been able to find that works on arbitrary dates.

\usepackage[orig, british, cleanlook]{isodate}


28 June 2013

I'm looking to have the month abbreviated to match our existing documentation format. I would like to end up with:

28 Jun 2013

Where all the months are abreviated. I'm thinking maybe I need to make a custom language for isodate, but there must be a better way.


I have also looked at the datetime package's \formatdate command. Unfortunately the date comes in as a solid string and I don't have the option of splitting it to the separate fields that the command needs.

I would be satisfied with something along the lines of:


That could be defined to a new command that would be easier to use.


You can update the English month lookup to suit your needs:

enter image description here

\usepackage[orig, british, cleanlook]{isodate}% http://ctan.org/pkg/isodate

\printdate{2013-06-28}% Old date format

% Update English month lookup
    Jan\or Feb\or Mar\or Apr\or May\or Jun\or
    Jul\or Aug\or Sep\or Oct\or Nov\or Dec\fi}

\printdate{2013-06-28}% New date format


The above suggests a global change to the English month lookup. If you want a more localized version, you could include the following in your document preamble:

    Jan\or Feb\or Mar\or Apr\or May\or Jun\or
    Jul\or Aug\or Sep\or Oct\or Nov\or Dec\fi}
  \let\month@english\short@month@english% Update English month lookup (locally)
  \printdate{#1}}}% Call traditional \printdate

which allows you to use \printdate and/or \printshortdate interchangably. \printshortdate updates \month@english temporarily (note the nested braces {..}) before calling the traditional \printdate macro.

| improve this answer | |
  • Awesome, Thanks! Just started with LaTeX last week, it's a very deep hole. – Gavin S Jun 29 '13 at 1:35

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.