Hi,

I use the code at end to get modification timestamp of a file including 
seconds, it works well until I encounter following:

I have a file that is in the Document folder, the creation and modification 
date are both:2008-05-04 22:06:46 +0800

when this file is copied to a FAT volume, naturally the creation date is lost, 
modification date become:
2008-05-04 22:06:47 +0800

Any idea why this happens? Thanks,

Angelo


NSFileManager *fileManager = [NSFileManager defaultManager];
NSDictionary *fileAttributes = [fileManager fileAttributesAtPath:path 
traverseLink:YES];        
fileModDate = [fileAttributes objectForKey:NSFileModificationDate];


      Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.antispam.yahoo.com/ 了解更多相關資訊!
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to