JDToDateString:

Path: Common/Time

% Convert Julian Date to the form '04/20/2000 00:00:00'
 If calForm is entered you will get Apr 20, 2000
  
 Typing JDToDateString returns the current date.
--------------------------------------------------------------------------
   Form:
    s = JDToDateString( jD, calForm)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD     	(1,1)   Julian Date   
   calForm	(1,1) 	 'mm/dd/yyyy hh:mm:ss'

   -------
   Outputs
   -------
   s       (1,:)   String 'mm/dd/yyyy hh:mm:ss' or 'Jan dd, yyyy'

--------------------------------------------------------------------------

Children:

Common: Time/DTAToDTS
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2Date
Math: MathUtils/R2P5

Back to the Common Module page