29

When citing online resources my university's regulation stipulates that we have to add information on when we accessed the specific website. This can for example be of the form "Retrieved: April 7, 2012".

When using the following simple setup for biblatex, is there a field in @online or so that allows me to have this printed automatically in the bibliography?

\usepackage[style=authoryear, backend=biber]{biblatex}
Thorsten
  • 12,872
Ingo
  • 20,035

1 Answers1

42

As I recommend in the comment you need the field urldate. Here an example:

\documentclass{article}

\usepackage[style=authoryear, backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Online{ctan,
  label       = {CTAN},
  title       = {CTAN},
  subtitle    = {The Comprehensive TeX Archive Network},
  date        = {2006},
  url         = {http://www.ctan.org},
  urldate     = {2012-04-07},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\DefineBibliographyStrings{english}{%
urlseen = {Retrieved},
}

\begin{document}
Text \cite{ctan}

\printbibliography
\end{document}

I also changed urlseen to your required string: "Retrieved".

If you want to format urldate you can use the following options of biblatex:

urldate=comp,dateabbrev=false

The result will be: April 7

The result is: enter image description here

Marco Daniel
  • 95,681
  • @Ingo In case you use JabRef to manage your literature: it automatically sets an insert date to the timestamp field for a new entry. Luckily, the target field can be changed to urldate in the program's preferences. The date format, however, does not accept the YYYY-MM-DD format. It always puts YYYY.MM.DD and I cannot tell if this works with @MarcoDaniel's solution!? – JJD Jul 15 '12 at 22:47
  • I had the same question, and this has been very helpful. However, when I add the urldate=comp,dateabbrev=false options, the "Retrieved" phrase is gone from the citation.. Any ideas? – geo909 Aug 12 '13 at 17:39