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

Return the local date and time. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3locdat (idat)
 This subprogram returns the local date and time in the ncep absolute date and time data structure.
 

Detailed Description

Return the local date and time.

Author
Mark Iredell
Date
1998-01-05

Definition in file w3locdat.f.

Function/Subroutine Documentation

◆ w3locdat()

subroutine w3locdat ( integer, dimension(8)  idat)

This subprogram returns the local date and time in the ncep absolute date and time data structure.

Program History Log:

Date Programmer Comment
1998-01-05 Mark Iredell Initial.
1999-04-28 Stephen Gilbert Added a patch to check for the proper

UTC offset. Needed until the IBM bug in date_and_time is fixed. The patch can then be removed. See comments in the section blocked with "&&&&&&&&&&&". 1999-08-12 | Stephen Gilbert | Changed so that czone variable is saved and the system call is only done for first invocation of this routine.

Parameters
[in]IDAT(8) NCEP absolute date and time (year, month, day, time zone, hour, minute, second, millisecond)
Author
Mark Iredell
Date
1998-01-05

Definition at line 22 of file w3locdat.f.