I'm using biblatex:

\usepackage[backend=bibtex, sorting=none, bibstyle=ieee]{biblatex}


The reference entry:

title           = {something},
url             = {https://google.com},
month           = Nov,
year            = {2016}

The reference appears as:

[1] (Nov. 2016) something, [online]. Available: https://google.com

I want it to appear as:

[1] something, [online]. Available: https://google.com (last visited Nov. 2016)

  • 1
    You'll want to give the date in urldate and not theyear and month fields: urldate = {2016-11}. – moewe Nov 29 '16 at 20:27

Since you want to give the date of access of your URL reference, you need to use the urldate field. date (and year, month) are for the actual date of publishing (or equivalent) of the source.

So you want

  title   = {something},
  url     = {https://example.edu/~elk/something},
  urldate = {2016-11},

To get "last visited" in parentheses after the url, the following works for me.

  1. Add url=FALSE to the package options (this prevents the url from being printed twice)
  2. Define the bibstring for urlseen
  3. Declare the field format for urldate as url then parentheses then urlseen

See below:


  urlseen = {last visited},

\DeclareFieldFormat{urldate}{\printfield{url} \mkbibparens{\bibstring{urlseen}\space#1}}
  • Welcome to TeX.SX! You can format code by clicking the {} button or by indenting it with four spaces. You can write lists with 1. etc instead of 1). – moewe Sep 6 '18 at 13:23
  • Note that your \usepackage{biblatex} is a bit unconventional. If you want to use biblatex-chicago you should load the style using the wrapper package \usepackage[authordate]{biblatex-chicago} and not with biblatex itself. style=... should also overwrite a previous citestyle=..., so citestyle=authordate, is useless. There are exceptions, but usually I would consider \printfield within a \DeclareFieldFormat as bas form. On the other hand one should prefer \addspace or \space instead of a literal space in \DeclareFieldFormat. – moewe Sep 6 '18 at 13:26
  • For the standard styles the more idiomatic solution would be to modify the bibmacro url+urldate. For biblatex-chicago I would also prefer to modify the responsible macro (bib+doi+url) and the @online driver (ugh!), but I admit that that would be more painful here. – moewe Sep 6 '18 at 13:31
  • Thanks for your comments! I will format my answers properly in the future. Biblatex-chicago doesn't work so well for me. I did try to modify the bib macro, but it didn't work. Thanks for the other suggestions, good to know. – Sophia Hatz Sep 7 '18 at 14:57

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.