>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  DT_TM_INC
Libraries

DT_TM_INC

DT_TM_INC

Name


      DT_TM_INC

Purpose


      Increment a date/time by a given number of seconds.

Category


Calling Sequence


      dt_tm_inc, t, s

Inputs


      s = Time in seconds to add. in

Keyword Parameters


Keywords


        FORMAT = format string. Allows output date to be customized.
        The default format string is 'y$ n$ d$ h$:m$:s$'
            The following substitutions take place in the format string:
        Y$ = 4 digit year.
        y$ = 2 digit year.
        N$ = full month name.
        n$ = 3 letter month name.
        d$ = day of month number.
        W$ = full weekday name.
        w$ = 3 letter week day name.
        h$ = hour.
        m$ = minute.
        s$ = second.
        @ = Carriage Return.
        ! = Line feed.
        Some examples: 'h$:m$:s$' -> 09:12:04,
        'd$ n$ Y$' -> 12 Jan 1991, 'd$D h$h' -> 3D 2h, ...

Outputs


      t = date and time string. in, out
        date/time strings are strings like 21-Jan-1989 14:43:03
        The format of the date and time strings is flexible, see date2ymd.

Common Blocks


Notes


Modification History


      R. Sterner. 18 Apr, 1989.
      RES 25 Oct, 1991 --- renamed and rewrote from incsec_datetime.
      Johns Hopkins University Applied Physics Laboratory.
  Copyright (C) 1989, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us