Article View: comp.unix
Article #647Date stamp format under Sys V??
From: Kevin Owen
Date: Fri, 31 Mar 1989 03:16
Date: Fri, 31 Mar 1989 03:16
17 lines
1336 bytes
1336 bytes
I am not sure if this the right notes group to ask this question in but here goes nothing. I am trying to determine file size and date of creation for the files in a given directory from within a C program under Sys V. I am using a call to "stat()" and this works fine for the file size but I am unsure how to convert the date stamp from its long integer format to a readable date. Any assistance would be greatly appreciated. Thanks. ------------------------------------------------------------------------------ _ , __ Kevin Owen @ Hewlett-Packard ' ) / / ') Cupertino, California /-< _ , __o ____ / / , , , _ ____ Phone : (408) 447-0218 / ) </_\/ <__/ / < (__/ (_(_/_</_/ / <_ UN*X Mail ...hplabs!hpccc!kevino ------------------------------------------------------------------------------
Technical Details
Message-ID:
<969@altos86.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!pyramid!nsc!icldata!altnet!altos86!dtynanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!pyramid!nsc!icldata!altnet!altos86!dtynan From: kevino@hpccc.HP.COM (Kevin Owen) Newsgroups: comp.unix Subject: Date stamp format under Sys V?? Message-ID: <969@altos86.UUCP> Date: 31 Mar 89 03:16:23 GMT Sender: dtynan@altos86.UUCP Organization: HP Corporate Computing Center Lines: 17 Approved: dtynan@zorba.Tynan.COM