next up previous
Next: prism_error Up: Query and Info Routines Previous: prism_get_calendar_type


prism_calc_newdate

prism_calc_newdate (date, date_incr, ierror)




Table 5.29: prism_calc_newdate arguments
\begin{table}\begin{tabularx}{16cm}[t]{\vert l\vert l\vert l\vert X\vert}
\hlin...
...\texttt{Integer}&
returned error code\\
\hline
\end{tabularx}\end{table}




This routine adds a time increment of date_incr seconds to the date given as In argument and returns the result in the date as Out argument. The time increment may be negative. The time structure PRISM_Time_Struct object is defined as a Fortran type of the form

   Type PRISM_Time_Struct
      Double Precision   :: second
      integer            :: minute
      integer            :: hour
      integer            :: day
      integer            :: month
      integer            :: year
   End Type PRISM_Time_Struct



Laure Coquart 2011-12-01