topdate2jul
Calendar
Return value
Julian day with the same format (long or double) as the input parameter
Parameters
date
in
required
type: long or double, sacalr or array
Keywords
GRADS
MONTH
DAY
YEAR
HOUR
MINUTE
SECOND
Examples
IDL> jday = juldate(19930124)
IDL> print, date2jul(19931205) EQ julday(12,5,1993)
1
IDL> print, date2jul(931205,/grads) EQ julday(12,5,1993)
1
IDL> print, date2jul(19931205.5d) EQ julday(12,5,1993,12,0,0)
1
IDL> print, date2jul(19931205.0d) EQ julday(12,5,1993,0,0,0)
1
Version history
Version
$Id: date2jul.pro 279 2007-09-07 13:40:51Z smasson $
History
Sebastien Masson (smasson@lodyc.jussieu.fr) June 2005
Known issues
Restrictions
Input param must be longword integer or double-precision floating-point
Statistics
McCabe cyclic | 4 |
McCabe essential | 1 |
McCabe modular design | 1 |