From b8dac36db6bad339e035d237cfed1b86713971ce Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 8 Dec 2010 00:29:42 +0000 Subject: piff pd (8dec10) git-svn-id: svn://tug.org/texlive/trunk@20676 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/genmisc/time.sty | 30 -------------------------- 1 file changed, 30 deletions(-) delete mode 100644 Master/texmf-dist/tex/generic/genmisc/time.sty (limited to 'Master/texmf-dist/tex/generic') 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 -%%% 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 -- cgit v1.2.3