NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3pradat.f File Reference

Format a date and time into characters. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3pradat (idat, cdat)
 This subprogram forms various character strings useful in describing an NCEP absolute date and time.
 

Detailed Description

Format a date and time into characters.

Author
Mark Iredell
Date
1998-01-05

Definition in file w3pradat.f.

Function/Subroutine Documentation

◆ w3pradat()

subroutine w3pradat ( integer, dimension(8)  idat,
character*(*), dimension(8)  cdat 
)

This subprogram forms various character strings useful in describing an NCEP absolute date and time.

Program History Log:

Date Programmer Comment
1998-01-05 Mark Iredell Initial.
Parameters
[in]IDATNCEP absolute date and time (year, month, day, time zone, hour, minute, second, millisecond)
[out]CDATStrings describing date and time:
  • CDAT(1) is the name of the day of the week;
  • CDAT(2) is the name of the month;
  • CDAT(3) is the day of month, year;
  • CDAT(4) is the date in yyyy-mm-dd format;
  • CDAT(5) is the date in yyyy.doy format;
  • CDAT(6) is the time in hh:mm:ss format;
  • CDAT(7) is the milliseconds in .xxx format;
  • CDAT(8) is the time zone.
Author
Mark Iredell
Date
1998-01-05

Definition at line 26 of file w3pradat.f.