summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-19 01:22:32 +0000
committerKarl Berry <karl@freefriends.org>2009-11-19 01:22:32 +0000
commit985c15fd8ede8df9fa1f88aea533234471dc8be5 (patch)
tree5da4fd6cea3dbebba71f6ebd3d323d7328e45eb2 /Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
parent01d93d3639c9411877c1fcb7034fa3d4d36e3afe (diff)
datetime update (18nov09)
git-svn-id: svn://tug.org/texlive/trunk@16071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/datetime/dt-sampl.tex')
-rw-r--r--Master/texmf-dist/doc/latex/datetime/dt-sampl.tex37
1 files changed, 35 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex b/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
index ed39ed2f7ce..d39e0e0f31f 100644
--- a/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
+++ b/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
@@ -3,10 +3,11 @@
\usepackage{ifpdf}
\usepackage{datetime}
+
\ifpdf
\pdfinfo{
- /CreationDate (D:20040501215500)
- /ModDate (D:\pdfdate)
+ /CreationDate (D:20040501215500Z)
+ /ModDate (D:\pdfcreationdate)
}
\fi
@@ -32,6 +33,7 @@ Default: \today.
\bfseries Declaration & \bfseries\verb|\today|\\
\verb|\longdate| & \longdate\today\\
\verb|\shortdate| & \shortdate\today\\
+\verb|\yyyymmdddate| & \yyyymmdddate\today\\
\verb|\ddmmyyyydate| & \ddmmyyyydate\today\\
\verb|\dmyyyydate| & \dmyyyydate\today\\
\verb|\ddmmyydate| & \ddmmyydate\today\\
@@ -49,6 +51,7 @@ Default: \currenttime.
\begin{tabular}{@{\ttfamily}ll}
\bfseries\rmfamily Format & \bfseries \verb|\currenttime|\\
+hhmmsstime & \settimeformat{hhmmsstime}\currenttime\\
xxivtime & \settimeformat{xxivtime}\currenttime\\
ampmtime & \settimeformat{ampmtime}\currenttime\\
oclock & \settimeformat{oclock}\currenttime
@@ -57,8 +60,10 @@ oclock & \settimeformat{oclock}\currenttime
\section{Specific Date:}
\begin{tabular}{ll}
+\bfseries Format & \bfseries \verb|\formatdate{1}{3}{2009}|\\
\verb|\longdate| & \longdate\formatdate{1}{3}{2000}\\
\verb|\shortdate| & \shortdate\formatdate{1}{3}{2000}\\
+\verb|\yyyymmdddate| & \yyyymmdddate\formatdate{1}{3}{2000}\\
\verb|\ddmmyyyydate| & \ddmmyyyydate\formatdate{1}{3}{2000}\\
\verb|\dmyyyydate| & \dmyyyydate\formatdate{1}{3}{2000}\\
\verb|\ddmmyydate| & \ddmmyydate\formatdate{1}{3}{2000}\\
@@ -71,6 +76,34 @@ oclock & \settimeformat{oclock}\currenttime
\verb|\mdyydate| & \mdyydate\formatdate{1}{3}{2000}
\end{tabular}
+\section{Specific Time}
+
+\begin{tabular}{@{\ttfamily}ll}
+\bfseries\rmfamily Format & \bfseries \verb|\formattime{15}{45}{00}|\\
+hhmmsstime & \settimeformat{hhmmsstime}\formattime{15}{45}{00}\\
+xxivtime & \settimeformat{xxivtime}\formattime{15}{45}{00}\\
+ampmtime & \settimeformat{ampmtime}\formattime{15}{45}{00}\\
+oclock & \settimeformat{oclock}\formattime{15}{45}{00}
+\end{tabular}
+
+\vskip\baselineskip\noindent
+\begin{tabular}{@{\ttfamily}ll}
+\bfseries\rmfamily Format & \bfseries \verb|\formattime{0}{0}{0}|\\
+hhmmsstime & \settimeformat{hhmmsstime}\formattime{0}{0}{0}\\
+xxivtime & \settimeformat{xxivtime}\formattime{0}{0}{0}\\
+ampmtime & \settimeformat{ampmtime}\formattime{0}{0}{0}\\
+oclock & \settimeformat{oclock}\formattime{0}{0}{0}
+\end{tabular}
+
+\vskip\baselineskip\noindent
+\begin{tabular}{@{\ttfamily}ll}
+\bfseries\rmfamily Format & \bfseries \verb|\formattime{12}{0}{0}|\\
+hhmmsstime & \settimeformat{hhmmsstime}\formattime{12}{0}{0}\\
+xxivtime & \settimeformat{xxivtime}\formattime{12}{0}{0}\\
+ampmtime & \settimeformat{ampmtime}\formattime{12}{0}{0}\\
+oclock & \settimeformat{oclock}\formattime{12}{0}{0}
+\end{tabular}
+
\section{Defining New Dates}
\begin{tabular}{ll}