CFDateCreate

Header: CFDate.h Carbon status: Supported

Creates a CFDate object using the specified absolute time.

CFDateRef CFDateCreate (
    CFAllocatorRef allocator, 
    CFAbsoluteTime at
);
Parameter descriptions
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 Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)