\documentclass{article}
\usepackage{fancyhdr}
\usepackage[yearmonthsep=,monthdaysep=,hourminsep=,minsecsep=]{datetime2}
\usepackage{color}
\usepackage{tikz}
\usepackage{comment}
\fancyhf{}

\topmargin=-0.45in
\evensidemargin=0in
\oddsidemargin=0in
\textwidth=6.5in
\textheight=9.0in
\headsep=0.25in

\newcommand{\noteTitle}{\today \DTMcurrenttime}
\newcommand{\notesAuthor}{AUTHOR}

\pagestyle{fancy}

\lhead{\noteTitle}
\rhead{\notesAuthor}

\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\begin{document}
    
    \section*{Section 1}
    
    \section*{Section 2}
    
\end{document}
