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:
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.