topjul2date
Calendar
Return value
the date: longword integer with yyyymmdd format or double-precision
floating-point with yyyymmdd.xx where xx is the fraction of the day
(xx=0 at 0am and 5 at 12am)
Parameters
jday
in
required
type: long or double, scalar or array
Keywords
MONTH
DAY
YEAR
HOUR
MINUTE
SECOND
Examples
IDL> print, jul2date(julday(12,23,1999))
19991223
IDL> print, jul2date(julday(12,23,1999,12,0,0))
19991224.
IDL> print, jul2date(julday(12,23,1999,12,0,0)), format='(f11.2)'
19991223.50
IDL> print, jul2date(julday(12,23,1999,0,0,0)), format='(f11.2)'
19991223.00
Version history
Version
$Id: jul2date.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 | 3 |
McCabe essential | 1 |
McCabe modular design | 1 |