Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FSGetCatalogInfo returns mod dates in a deprecated data type: UTCDateTime



Hello All

I have been using UTCDateTime extensively because I thought that was the way forward away from DateTimeRec but apparently that's not the case anymore as (almost) everything to do with UTCDateTime has become deprecated in Tiger. As I am at the moment modernizing my code base I really want to move my code to the recommended APIs (CFTimeZone, CFCalendar, etc.) but the fact that FSGetCatalogInfo still returns mod and creation dates as UTCDateTime variables prevents me from getting rid of this data type from my code as I need to retrieve this information. Therefore, I have this question:

Is there a more modern way to retrieve a modification / creation date of a given file / directory other than FSGetCatalogInfo? If so, please tell me which, so that I can get rid of UTCDateTime. Or is that slated for Leopard?

TIA

JV

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.