external/CDAWlib/jh/
sechms.pro
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.
Routines
File attributes
Modification date: | Tue Oct 21 13:53:43 2014 |
Lines: | 28 |