我正在处理文件和文件夹....我如何能甚至在毫秒bcoz中获得文件夹的创建时间我也面临着在同一秒创建的文件夹..我能够获得hr:min:sec但获得毫秒我使用Fileinfo或Directoryinfo.creationtime.millisecond .....时为零。请问我如何克服此问题?
您的文件系统可能没有存储那么精确的创建日期。
使用pinvoke到GetFileTime ,然后转换为SYSTEMTIME
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.