Where is the date and time preference data saved on Mac?
I don't know of a purely programmatic way of getting it, but the systemsetup command can do it:

$ systemsetup -getusingnetworktime
Network Time: On