#include <CarbonCore/CarbonCore.h>
//work


/*ConvertLocalTimeToUTC

Converts local time to UTC. (Deprecated in Mac OS X v10.4.)

OSStatus ConvertLocalTimeToUTC (
   UInt32 localSeconds,
   UInt32 * utcSeconds
);
Parameters
localSeconds

A value of type UInt32 containing the local time.
utcSeconds

A pointer to a value of type UInt32. On return, this points to the UTC value corresponding to the given time in localSeconds.
Return Value

A result code. See “Date, Time, and Measurement Utilities Result Codes”.
Discussion

Given a local time in localSeconds, the function will place the corresponding UTC value in utcSeconds. This function returns noErr if the conversion is successful. Otherwise, it may return kUTCUnderflowErr or kUTCOverflowErr.
Availability
Available in Mac OS X v10.0 and later.
Deprecated in Mac OS X v10.4.
Declared In
UTCUtils.h*/

OSStatus ConvertLocalTimeToUTC (
   UInt32 localSeconds,
   UInt32 * utcSeconds
){};

/*GetUTCDateTime

Gets the UTC date and time. (Deprecated in Mac OS X v10.4.)

OSStatus GetUTCDateTime (
   UTCDateTime * utcDateTime,
   OptionBits options
);
Parameters
utcDateTime

A pointer to a value of type UTCDateTime. On return, the value this parameter points to is the current UTC date and time. 
options

A value of type OptionBits. Pass kUTCDefaultOptions for the default behavior.
Return Value

A result code. See “Date, Time, and Measurement Utilities Result Codes”.
Discussion

This API returns the current date and time as UTC in utcDateTime. Otherwise, it is set to 0. Use kUTCDefaultOptions in the options for default behavior. Different behavior may be specified through this parameter in the future. If the operation is successful noErr is returned. If a NULL pointer is passed in utcDateTime, paramErr is returned.
Availability
Available in Mac OS X v10.0 and later.
Deprecated in Mac OS X v10.4.
Declared In
UTCUtils.h*/
OSStatus GetUTCDateTime (
   UTCDateTime * utcDateTime,
   OptionBits options
){};
