• C

Get date and time on a file in "C"

How can I get the date and time of a file using "C" in Windows NT 4.

I know how to do this using C++ and MFC but I need to know how
to do this is "C", on Windows NT.
sdurgalaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jhanceConnect With a Mentor Commented:
Use the _fstat() function from the standard C library.
0
 
sdurgalaAuthor Commented:
Thanks,

    _fstat() works but I'm going to use _stat()
    because you don't have to have the file
    open when you use _stat().

    I never would of got this one with out your
    help, thanks again...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.