6

How can I add a time-stamp of the time of compilation of the latex document (day, and clock-time in the form of HH:MM:SS) at the bottom left corner of every page, below the contents of the document?

  • 4
    Happy New year, hope you missed to keep the LaTeX tags what you tried, can you post a MWE of your document? – MadyYuvi Jan 2 at 5:38
8

Something like this?

\documentclass{article}
\usepackage{datetime}
\usepackage{eso-pic}
\usepackage{lipsum}
\begin{document}
\newdateformat{myday}{%
\twodigit{\THEDAY}}
\settimeformat{hhmmsstime}
\AddToShipoutPicture{%
     \AtTextLowerLeft{%
         \put(290,-20){\myday\today--\currenttime}%
     }%
}
\lipsum[1-10]
\end{document}

enter image description here

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.