• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSFileManager attribute NSFileModificationDate real meaning ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileManager attribute NSFileModificationDate real meaning ???


  • Subject: NSFileManager attribute NSFileModificationDate real meaning ???
  • From: Jérome Foucher <email@hidden>
  • Date: Thu, 20 Feb 2003 16:20:12 +0100

Hi all !

I try to use the NSFileManager to get info about some files. I'm particularily interested in the modification date.

I call :
attributes = [fileManager fileAttributesAtPath:fullPath traverseLink:YES];

then get the date with
[attributes objectForKey:NSFileModificationDate];

but the date I receive is NOT the modification date I can see in the Finder or in the Terminal for the particular file.
It's more a Touch date in my opinion...

Is there a way to get the real modification date ?

Thanks
Jerome
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • [FIX]Re: NSFileManager attribute NSFileModificationDate real meaning ???
      • From: Jérome Foucher <email@hidden>
  • Prev by Date: Re: Antialising a CGImageRef
  • Next by Date: [FIX]Re: NSFileManager attribute NSFileModificationDate real meaning ???
  • Previous by thread: [SOLVED]Re: Antialising a CGImageRef
  • Next by thread: [FIX]Re: NSFileManager attribute NSFileModificationDate real meaning ???
  • Index(es):
    • Date
    • Thread