• 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
Re: getting accurate file modification time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting accurate file modification time?


  • Subject: Re: getting accurate file modification time?
  • From: Chris Suter <email@hidden>
  • Date: Wed, 18 Jun 2008 13:10:08 +1000


On 18/06/2008, at 1:04 PM, Angelo Chen wrote:

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,

This isn’t really Cocoa.

I suspect the reason is because the granularity of time stamps on FAT volumes is 2 seconds.

-- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >getting accurate file modification time? (From: Angelo Chen <email@hidden>)

  • Prev by Date: Re: getting accurate file modification time?
  • Next by Date: re: Dot syntax
  • Previous by thread: Re: getting accurate file modification time?
  • Next by thread: Getting all subclasses
  • Index(es):
    • Date
    • Thread