[163] | 1 | |
---|
| 2 | |
---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 4 | <head> |
---|
| 5 | <title>jul2date.pro (SAXO Documentation Assistant)</title> |
---|
| 6 | </head> |
---|
| 7 | |
---|
| 8 | <body text="#000000" bgcolor="#FFFFFF"> |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | <!-- Navbar template takes a structure with the following fields: |
---|
| 12 | overview_href : |
---|
| 13 | overview_selected : |
---|
| 14 | dir_overview_href : |
---|
| 15 | dir_overview_selected : |
---|
| 16 | categories_href : |
---|
| 17 | categories_selected : |
---|
| 18 | index_href : |
---|
| 19 | index_selected : |
---|
| 20 | search_href : |
---|
| 21 | search_selected : |
---|
| 22 | file_selected : |
---|
| 23 | source_href : |
---|
| 24 | source_selected : |
---|
| 25 | help_href : |
---|
| 26 | help_selected : |
---|
| 27 | etc_selected : |
---|
| 28 | |
---|
| 29 | prev_file_href : |
---|
| 30 | next_file_href : |
---|
| 31 | |
---|
| 32 | view_single_page_href : |
---|
| 33 | view_frames_href : |
---|
| 34 | |
---|
| 35 | summary_fields_href : |
---|
| 36 | summary_routine_href : |
---|
| 37 | details_routine_href : |
---|
| 38 | |
---|
| 39 | title : |
---|
| 40 | subtitle : |
---|
| 41 | user : |
---|
| 42 | --> |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | <table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom"> |
---|
| 46 | <tr> |
---|
| 47 | <td width="10%"> |
---|
| 48 | <a href="daysinmonth.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td> |
---|
| 49 | <td width="80%" align="center" valign="center"> |
---|
| 50 | <font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td> |
---|
| 51 | <td width="10%" align="right"> |
---|
| 52 | <a href="julday.html"><img src="./../next.gif" border="0" alt="Next"></a></td> |
---|
| 53 | </tr> |
---|
| 54 | </table> |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | <h1><font size="-2">Calendar/</font></h1> |
---|
| 58 | <h2>jul2date.pro</h2> |
---|
| 59 | |
---|
| 60 | <dl> |
---|
| 61 | </dl> |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | gives yyyymmdd date equivalent of a Julian day |
---|
[321] | 65 | This is the inverse of the function <a href="..//Calendar/date2jul.html">date2jul</a>. |
---|
[163] | 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | <a name="#_jul2date"></a> |
---|
| 72 | |
---|
[234] | 73 | <h2>jul2date <font size="-1" color="#006633"> |
---|
[163] | 74 | Calendar |
---|
| 75 | </font></h2> |
---|
| 76 | |
---|
[290] | 77 | <p><font face="Courier"><i>result = </i>jul2date(<i><a href="#_jul2date_keyword_jday">jday</a></i>, <a href="#_jul2date_keyword_MONTH">MONTH</a>=<i>MONTH</i>, <a href="#_jul2date_keyword_DAY">DAY</a>=<i>DAY</i>, <a href="#_jul2date_keyword_YEAR">YEAR</a>=<i>YEAR</i>, <a href="#_jul2date_keyword_HOUR">HOUR</a>=<i>HOUR</i>, <a href="#_jul2date_keyword_MINUTE">MINUTE</a>=<i>MINUTE</i>, <a href="#_jul2date_keyword_SECOND">SECOND</a>=<i>SECOND</i>)</font></p> |
---|
[163] | 78 | |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
[234] | 82 | <h3>Return value</h3> |
---|
[290] | 83 | the date: longword integer with yyyymmdd format or double-precision |
---|
| 84 | floating-point with yyyymmdd.xx where xx is the fraction of the day |
---|
| 85 | (xx=0 at 0am and 5 at 12am) |
---|
[163] | 86 | |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | <h3>Parameters</h3> |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | <a name="#_jul2date_keyword_jday"></a> |
---|
| 93 | <h4>jday |
---|
| 94 | <font size="-1" color="#006633">in</font> |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | <font size="-1" color="#006633">required</font> |
---|
| 98 | |
---|
[321] | 99 | <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>long or double, scalar or array</i></font> |
---|
[163] | 100 | |
---|
| 101 | |
---|
| 102 | </h4> |
---|
| 103 | |
---|
[234] | 104 | |
---|
[163] | 105 | Julian day |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | |
---|
[290] | 111 | <h3>Keywords</h3> |
---|
[163] | 112 | |
---|
[290] | 113 | |
---|
| 114 | <a name="#_jul2date_keyword_MONTH"></a> |
---|
| 115 | <h4>MONTH |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | |
---|
| 124 | </h4> |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | Set this keyword equal to a named variable that will receive a |
---|
| 128 | longword integer or longword integer array representing the number of |
---|
| 129 | the desired month (1 = January, ..., 12 = December). |
---|
| 130 | |
---|
| 131 | |
---|
| 132 | <a name="#_jul2date_keyword_DAY"></a> |
---|
| 133 | <h4>DAY |
---|
| 134 | |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | |
---|
| 142 | </h4> |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | Set this keyword equal to a named variable that will receive a |
---|
| 146 | longword integer or longword integer array representing the number of |
---|
| 147 | the day of the month (1-31). |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | <a name="#_jul2date_keyword_YEAR"></a> |
---|
| 151 | <h4>YEAR |
---|
| 152 | |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | |
---|
| 158 | |
---|
| 159 | |
---|
| 160 | </h4> |
---|
| 161 | |
---|
| 162 | |
---|
| 163 | Set this keyword equal to a named variable that will receive a |
---|
| 164 | longword integer or longword integer array representing the number of |
---|
| 165 | the desired year (e.g., 1994). |
---|
| 166 | |
---|
| 167 | |
---|
| 168 | <a name="#_jul2date_keyword_HOUR"></a> |
---|
| 169 | <h4>HOUR |
---|
| 170 | |
---|
| 171 | |
---|
| 172 | |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | |
---|
| 178 | </h4> |
---|
| 179 | |
---|
| 180 | |
---|
| 181 | Set this keyword equal to a named variable that will receive a |
---|
| 182 | longword integer or longword integer array representing the number of |
---|
| 183 | the hour of the day (0-23). |
---|
| 184 | |
---|
| 185 | |
---|
| 186 | <a name="#_jul2date_keyword_MINUTE"></a> |
---|
| 187 | <h4>MINUTE |
---|
| 188 | |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | </h4> |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | Set this keyword equal to a named variable that will receive a |
---|
| 200 | longword integer or longword integer array representing the number of |
---|
| 201 | the minute of the hour (0-59). |
---|
| 202 | |
---|
| 203 | |
---|
| 204 | <a name="#_jul2date_keyword_SECOND"></a> |
---|
| 205 | <h4>SECOND |
---|
| 206 | |
---|
| 207 | |
---|
| 208 | |
---|
| 209 | |
---|
| 210 | |
---|
| 211 | |
---|
| 212 | |
---|
| 213 | |
---|
| 214 | </h4> |
---|
| 215 | |
---|
| 216 | |
---|
| 217 | Set this keyword equal to a named variable that will receive a |
---|
| 218 | double-precision floating-point value or a double-precision |
---|
| 219 | floating-point array representing the number of the second of the |
---|
| 220 | minute (0-59). |
---|
| 221 | |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | |
---|
[234] | 225 | <h3>Examples</h3><pre> |
---|
[163] | 226 | |
---|
[402] | 227 | IDL> print, jul2date(julday(12,23,1999)) |
---|
[290] | 228 | 19991223 |
---|
[402] | 229 | IDL> print, jul2date(julday(12,23,1999,12,0,0)) |
---|
[290] | 230 | 19991224. |
---|
[402] | 231 | IDL> print, jul2date(julday(12,23,1999,12,0,0)), format='(f11.2)' |
---|
[290] | 232 | 19991223.50 |
---|
[402] | 233 | IDL> print, jul2date(julday(12,23,1999,0,0,0)), format='(f11.2)' |
---|
[290] | 234 | 19991223.00 |
---|
[163] | 235 | |
---|
[234] | 236 | </pre><h3>Version history</h3> |
---|
[163] | 237 | |
---|
[234] | 238 | <h4>Version</h4> |
---|
[402] | 239 | $Id: jul2date.pro 371 2008-08-07 09:32:02Z pinsard $ |
---|
[163] | 240 | |
---|
[234] | 241 | <h4>History</h4> |
---|
| 242 | Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
[163] | 243 | June 2005 |
---|
| 244 | |
---|
| 245 | |
---|
| 246 | |
---|
[290] | 247 | <h3>Known issues</h3> |
---|
[163] | 248 | |
---|
| 249 | |
---|
| 250 | |
---|
[290] | 251 | <h4>Restrictions</h4> |
---|
| 252 | Input param must be longword integer or double-precision floating-point |
---|
| 253 | |
---|
[163] | 254 | |
---|
| 255 | |
---|
| 256 | |
---|
| 257 | |
---|
| 258 | |
---|
| 259 | |
---|
| 260 | |
---|
| 261 | |
---|
| 262 | |
---|
| 263 | <font size="-3"><p> </p></font> |
---|
| 264 | <hr size="1" color="#CCCCCC"/> |
---|
| 265 | |
---|
| 266 | |
---|
| 267 | |
---|
| 268 | |
---|
[187] | 269 | <p><font color="gray" size="-3"> Produced by IDLdoc 2.0.</font></p> |
---|
[163] | 270 | |
---|
| 271 | </body> |
---|
[249] | 272 | </html> |
---|