summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/genmisc/time.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-12-08 00:29:42 +0000
committerKarl Berry <karl@freefriends.org>2010-12-08 00:29:42 +0000
commitb8dac36db6bad339e035d237cfed1b86713971ce (patch)
tree90f5205c580f7e74eb7eb18297a1c0936808ad19 /Master/texmf-dist/tex/generic/genmisc/time.sty
parentec292c03bd7f22b6c53cc292304730e8a07b10b0 (diff)
piff pd (8dec10)
git-svn-id: svn://tug.org/texlive/trunk@20676 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/genmisc/time.sty')
-rw-r--r--Master/texmf-dist/tex/generic/genmisc/time.sty30
1 files changed, 0 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/generic/genmisc/time.sty b/Master/texmf-dist/tex/generic/genmisc/time.sty
deleted file mode 100644
index e1b86ce46d5..00000000000
--- a/Master/texmf-dist/tex/generic/genmisc/time.sty
+++ /dev/null
@@ -1,30 +0,0 @@
-%%% Save file as: TIME.STY (TIME.TEX) Source: FILESERV@SHSU.BITNET
-%%% Author: Sunando Sen <sens@nyuacf.bitnet> <sens@acfcluster.nyu.edu>
-%%% Source: INFO-TeX@SHSU.edu, Mon, 6 Jan 1992 23:14 EST
-%%% Purpose: The command \now produces the current time in hh:mm A.M./P.M.
-%%% format; similar to \today
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%% Macro to write the current time %%%%%%%%%%%%%%%%%%%
-% \now produces the current time, e.g., 11:15 A.M. %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\newcount\hour \newcount\minute
-\hour=\time \divide \hour by 60
-\minute=\time
-
-\count99=\hour \multiply \count99 by -60 \advance \minute by \count99
-
-\def\now{%
-\ifnum \hour<13
- \ifnum \hour=0 \advance \hour by 12 \number\hour:\else \number\hour:\fi%
- \ifnum \minute<10 0\fi%
- \number\minute%
-\ A.M.%
-\else \advance \hour by -12 \number\hour:%
- \ifnum \minute<10 0\fi%
- \number\minute%
- \ P.M.%
-\fi%
-}
-
-\endinput