Header of my LaTeX file:




My Paper



I need help to add the "URL accessed on date" for @online{} type bibliography entries.

I checked this question, but this is not exactly what I need.

There are quite a few questions about adding "URL accessed on" dates, but I don't want to tinker with my current setup too much. I was wondering if this can be done by editing the model5-names.bst file. Can anyone please help ?

  • 1
    Are you using biblatex or bibtex? The use of elsarticle class suggests bibtex, but there is no @online entry type in standard bibtex classes, only in biblatex. Commented Aug 21, 2019 at 12:47
  • @EricMarsden.. I am a beginner at this. I think my document is using biblatex. The bibliography dropdown on my editor (Texstudio) has bibLatex checked. But I have not included any usepackage entries related to bibtex or biblatex. So far the online bibliography entries work along with everything else. However, I need to provide the "URL accessed on" for these online references and I don't know how to do that.
    – square_one
    Commented Aug 21, 2019 at 13:23
  • 1
    I'm not familiar with biblatex, but I believe you can achieve what you want by including an "urldate" field in your bibliography entry, or a "note" field with "accessed on YYY-MM-DD"; see tex.stackexchange.com/questions/404227/… for example. Commented Aug 22, 2019 at 8:00
  • @EricMarsden Thanks :) the "note" field worked for me .. Please make your comment as an answer..
    – square_one
    Commented Aug 29, 2019 at 9:47

1 Answer 1


The simplest (if not the most elegant) solution is to include the URL access date in a note field of the bibliography entry, with for example

note = {accessed on 2019-08-29}

This method should work with both bibtex and biblatex (for common style definitions).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .