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

No Search Results

If you need to display the date/time local to your timezone, you can change the TZ (timezone) environment variable using a custom latexmkrc file:

  1. In your project editor window, click on the “Upload” button on the top of the file tree panel.
  2. Select “New file”, and name the file latexmkrc (without extensions).
  3. Add the following line to the file latexmkrc:
    $ENV{'TZ'}='Asia/Kuala_Lumpur';
    

    or whichever timezone required. Here's a list of supported time zones for reference.

Dates and times (e.g. \today and \DTMcurrenttime from the datetime2 package) in the PDF should then give values local to the specified time zone.


Using a latexmkrc to change your project's timezone


Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX