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, scalar 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 371 2008-08-07 09:32:02Z pinsard $
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 | 5 |
McCabe essential | 1 |
McCabe modular design | 1 |