MMDDYY() and mmddyyc()

Fortran version:

    CHARACTER*14 FUNCTION MMDDYY( JDATE )
        INTEGER, INTENT(IN   ) :: JDATE   ! date, YYYDDD = 1000*year + day(1...365,6)

C version:

    void mmddyyc( int  jdate , 
                  char buffer[ 15 ] )

Summary:

Format and return the Julian date JDATE as a character string "Month DD, YYYY"

For Fortran-90 declarations and interface checking:

    USE M3UTILIO
    

See also subroutines

JULIAN(),
DAYMON(),
WKDAY(),
ISDSTIME(),
DT2STR()
as well as EDSS/ Models-3 date-time manipulation programs
gregdate,
greg2jul,
juldate,
jul2greg
julshift
timeshift.

Preconditions:

#include "iodecl3.h" if called from C.

JDATE represents a date YYYYDDD according to Models-3 conventions

Fortran Usage:

    ...
    USE M3UTILIO
    ...
    CHARACTER*14  BUFFER
    ...
    BUFFER = MMDDYY( 1988060 )  ! BUFFER now holds "March 1, 1988"
    ...
    WRITE( *,* ) 
  &     'Date ', MMDDYY( 1995001 ) ! writes "Date Jan. 1, 1995"
    ...

C Usage:

    ...
    #include "iodecl3.h"
    ...
    char  buffer[ 15 ] ;
    ...
    mmddyyc( 1995001, buffer ) ; /*  buffer now holds "Jan. 1, 1995" */
    ...


Previous: JULIAN

Next: NEXTIME

Up: Date-Time Manipulation Routines

To: Models-3/EDSS I/O API: The Help Pages