阅读:2009回复:0
求下fat的时间转化
typedef struct _FATDirEntry
{ union { struct { unsigned char Filename[8], Ext[3]; }; unsigned char ShortName[11];//A }; unsigned char Attrib;//B unsigned char lCase;//C unsigned char CreationTimeMs;//D unsigned short CreationTime,CreationDate,AccessDate;//13 union { unsigned short FirstClusterHigh; // FAT32 unsigned short ExtendedAttributes; // FAT12/FAT16 }; unsigned short UpdateTime; //time create/update unsigned short UpdateDate; //date create/update unsigned short FirstCluster; unsigned long FileSize; }FATDir,*pFATDir; 目录项的时间转化成标准的像2008-12-12 9:20这样的太复杂了,有没有做过的直接传下源码哈 谢谢啦 |
|