SECHMS Name
SECHMS Purpose
Seconds after midnight to h, m, s, numbers and strings.
Category
Calling Sequence
sechms, sec, h, [m, s, sh, sm, ss] Inputs
sec = seconds after midnight. in
Keyword Parameters
Keywords
FRAC=fr Returned fractional part of seconds.
EPS=e Small amount to add to allow for round off error
Values eps < some integer will become integer.
Default=1E-12
Outputs
h, m, s = Hrs, Min, Sec as numbers. out
sh, sm, ss = Hrs, Min, Sec as strings out
(with leading 0s where needed).
Common Blocks
Notes
Modification History
Written by R. Sterner, 17 Nov, 1988.
Johns Hopkins University Applied Physics Laboratory.
R. Sterner, 27 Sep, 1993 --- modified to handle arrays.
R. Sterner, 1998 May 21 --- Fixed a bug found by Dave Watts and
Damian Murphy that caused a lost second sometimes.
R. Sterner, 2001 Jul 31 --- Added some missing quote marks that
caused trouble for Randall Skelton in IDL 2.3.
Copyright (C) 1988, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.