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

JS2WEEKDAY

JS2WEEKDAY

Name


      JS2WEEKDAY

Purpose


      Compute weekday given Julian Second.

Category


Calling Sequence


      wd = js2weekday(js)

Inputs


      js = Julian Second (sec after 0:00 Jan 1 2000). in
          May be a scalar or array of values.

Keyword Parameters


Keywords


        /NAME Returned name of weekday instead of
          number: Sunday, Monday, ...

Outputs


      wd = Weekday number (Sun=1, Mon=2, ... Sat=7). out

Common Blocks


Notes


Modification History


      R. Sterner, 1997 Dec 31
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  Copyright (C) 1997, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us