Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

GetFileInfoQQ FILE$INFO structure

Ken_Woolridge
Beginner
581 Views

Hello,

It appears to me that Windows times are 64 bits (two long words, low and high).  In the FILE$INFO structure in ifport.f90, the creation, lastaccess, and lastwrite times are Integer(4).  What kind of a time value are these?

Thanks, Ken

0 Kudos
1 Reply
IanH
Honored Contributor III
581 Views

From https://software.intel.com/en-us/node/580644:

The derived-type element variables FILE$INFO%CREATION, FILE$INFO%LASTWRITE, and FILE$INFO%LASTACCESS contain packed date and time information that indicates when the file was created, last written to, and last accessed, respectively.

 

To break the time and date into component parts, call UNPACKTIMEQQ.

0 Kudos
Reply