Returns a time zone object offset from Greenwich Mean Time by a given number of seconds.
Original signature is '+ (id)timeZoneForSecondsFromGMT:(NSInteger)seconds'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSTimeZone TimeZoneForSecondsFromGMT( NSInteger seconds )
Public Shared Function TimeZoneForSecondsFromGMT ( _ seconds As NSInteger _ ) As NSTimeZone
public: static NSTimeZone^ TimeZoneForSecondsFromGMT( NSInteger seconds )
Parameters
- seconds (NSInteger)
- The number of seconds by which the new time zone is offset from GMT.
Return Value
A time zone object offset from Greenwich Mean Time by seconds.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)