How to get the automatic date & time settings in Xcode

We need to know how to get information the from parameter is ckeched or not from General -> Date Time -> Automaticaly.