filetime class
is there a standard filetime class i can use?
i want to feed it either windows or linux filetime and have it store it in a standard format. I may dump it in a file, i may just keep it as a struct/class. i am not sure how i will use it
Sure. System.DateTime is usable from both Microsoft's .NET framework and the Mono implementation, which means you've got time goodness in C#, VB.NET or any other .NET language. If not using a .NET language, then please specify which one you are using.
well you didn't specify language, but I'm guessing since it's cross platform, you're talking C++ (or possibly python?).
I don't think there's anything in the standard C++ library that can get the time from a file. you might be able to use the c stat function or a wrap a platform specific function such as GetFileInformationByHandle on win32.
in python you can use getmtime
I don't think there's anything in the standard C++ library that can get the time from a file. you might be able to use the c stat function or a wrap a platform specific function such as GetFileInformationByHandle on win32.
in python you can use getmtime
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement