Carbon


CFAbsoluteTimeGetWeekOfYear

Header: CFDate.h Carbon status: Supported

Returns an integer representing the week of the year indicated by the specified absolute time.

SInt32 CFAbsoluteTimeGetWeekOfYear (
    CFAbsoluteTime at, 
    CFTimeZoneRef tz
);
at

The absolute time you wish converted into a week of the year.

tz

The CFTimeZone object to use for time correction. Pass NULL for GMT.

function result

An integer representing the week of the year indicated by the specified absolute time.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when CoreFoundationLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CoreFoundationLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)