Name
UTC offset, timezone.utcoffset, kPMRPCTimeZoneUTCOffset, kPMObserveTimeZoneUTCOffset — UTC offset in seconds
Synopsis
integer timezone.utcoffset( |
); |
Security
UTC offset can be requested by any authenticated client.
Unauthenticated clients are authorized using the uk.co.dssw.powermanager.timezone.utcoffset right. By default, any local process can request UTC offset.
Examples
Example 125. C: timezone.utcoffset
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCTimeZoneUTCOffset);
Example 126. Objective-C: timezone.utcoffset
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCTimeZoneUTCOffset];
Example 127. AppleScript: timezone.utcoffset
tell application "Power Manager Scripting"
set myResult to UTC offset of Time Zone
end tell