% This is a solution to one of the exercises accompanying "LaTeX for Administrative Work"
% See www.dickimaw-books.com/latex/admin/ for the book details,
% including licence.
%
% arara: pdflatex
\documentclass{article}

\usepackage{mycustomdatetime}

\begin{document}
\section{Easy part}

Display dates including time zone:

\printdatetime{2014-03-25 01:23:15+00:00}

\printdatetime{2014-03-24 23:31:58+01:00}

\printdatetime{2014-03-24 16:28:56-06:00}

\printdatetime{2014-03-24 14:45:23+08:00}

\printdatetime{2014-03-25 03:12:04-04:30}

\printdatetime{2014-03-24 03:45:24-04:30}

\printdatetime{2014-03-24 21:20:24+05:45}

\section{Common Time Zone}
Display dates in UTC+00:00 time zone:

\printzuludatetime{2014-03-25 01:23:15+00:00}

\printzuludatetime{2014-03-24 23:31:58+01:00}

\printzuludatetime{2014-03-24 16:28:56-06:00}

\printzuludatetime{2014-03-24 14:45:23+08:00}

\printzuludatetime{2014-03-25 03:12:04-04:30}

\printzuludatetime{2014-03-24 03:45:24-04:30}

\printzuludatetime{2014-03-24 21:20:24+05:45}

\end{document}
