Carbon


CFDateCreate

Header: CFDate.h Carbon status: Supported

Creates a CFDate object using the specified absolute time.

CFDateRef CFDateCreate (
    CFAllocatorRef allocator, 
    CFAbsoluteTime at
);
allocator

The memory allocator to use. Pass kCFAllocatorDefault to use the system allocator.

at

The absolute time you wish converted to a CFDate object.

function result

A CFDate object containing the specified absolute time.

DISCUSSION

CFDate objects must always be created using absolute time. Time intervals are not supported.

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)