Showing first {{hits.length}} results of {{hits_total}} for {{searchQueryText}}{{hits.length}} results for {{searchQueryText}}

You may sometimes want to include a timestamp on your document showing when the document was created. This can be done using the \currenttime command provided by the datetime package. By default on ShareLaTeX, the timestamp will appear as the time in GMT. You can change this to your local timezone (or any other choice of timezone) using the instructions below:

  • In your project editor window, click on “Add file” on the top of the project sidebar.
  • Select “Blank file”, and name the file latexmkrc.
  • Add the following line to the file latexmkrc (for whatever timezone is required):


This will change the timezone to that of New York. A full list of the available timezones can be found here.

  Open an example in ShareLaTeX

[edit] Overleaf guides

[edit] LaTeX Basics

[edit] Mathematics

[edit] Figures and tables

[edit] References and Citations

[edit] Languages

[edit] Document structure

[edit] Formatting

[edit] Fonts

[edit] Presentations

[edit] Commands

[edit] Field specific

[edit] Class files