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

DT_TM_RANGE

DT_TM_RANGE

Name


      DT_TM_RANGE

Purpose


      Extract date/time range from string with two date/times.

Category


Calling Sequence


      dt_tm_range, in,js1,js2

Inputs


      in = input string with 2 date/time strings. in
        Must both have same form (at least same length).

Keyword Parameters


Keywords


        MISSING=def Defaults for missing date values:
          Must be string with year, month, day in that order.
          Ex: miss='1996 May 12'
          Default for MISSING is current day.
          ERROR=err Error flag: 0=ok.

Outputs


      js1, js2 = returned times as Julian Seconds. out

Common Blocks


Notes


      Notes: Tries to split input string into 2 equal parts.
        Missing year, month, or day may be added from default.
        If second time is before first then 1 day is added.
        This allows time ranges with only times, default
        applies to first day.

Modification History


      R. Sterner, 1996 Nov 4
  Copyright (C) 1996, 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