Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

euv_date/

hms2sod.pro

tophms2sod

data format manipultion

result = hms2sod(hrs, min, sec)

convert hours, minutes, seconds to seconds of day

returns double to avoid issues

Return value

sod - the seconds in the day

Parameters

hrs in required

hours in the day [0,24)

min in required

minutes in the hour [0,60)

sec in required

seconds in the minute [0,60)

Examples

IDL> print, hms2sod(5,33,20) 20000.000

Author information

History:

Thu Apr 1 11:34:05 2004, Brian Larsen written and tested, should add error correction but...

Statistics

Lines: 7
McCabe complexity:

File attributes

Modifcation date: Thu Dec 4 15:23:13 2008
Lines: 47