how do I display both current date and current time on titlepage in article mode?

Christopher W. Ryan cryan at binghamton.edu
Sat Apr 18 19:48:32 CEST 2020


I've tried the datetime package, but I only seem to be able to  have one
or the other. None of these approaches (admittedly casting around) succeed:

\documentclass{article}
\usepackage{datetime}
\title{foo}
\date{\today}
\date{\currenttime}
\begin{document}
\maketitle
\end{document}


\documentclass{article}
\usepackage{datetime}
\date{\currenttime}
\begin{document}
\maketitle
\end{document}

\documentclass{article}
\usepackage{datetime}
\date{\today \currenttime}
\begin{document}
\maketitle
\end{document}


Thanks.

--Chris Ryan


More information about the texhax mailing list.