Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
1  
You need urldate. –  Marco Daniel Apr 7 '12 at 13:22
    
I specified urldate but it is ommitted in the bibliography. –  Ingo Apr 7 '12 at 13:29
1  
Please see my updated answer. –  Marco Daniel Apr 7 '12 at 13:43
    
Nevermind, works now. –  Ingo Apr 7 '12 at 13:44
1  
I had the same problem as @Ingo, thus the urldate was omitted in the bibliography, it was fixed by deleting all the aux files and recompiling. –  Zwähnia May 30 '13 at 14:12

1 Answer 1

up vote 18 down vote accepted

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

share|improve this answer
    
Fantastic! Thank you very much Marco. –  Ingo Apr 7 '12 at 13:45
    
@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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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