Try this:
YourActivity.this.startActivity(new Intent(Settings.ACTION_DATE_SETTINGS));
It is not possible to enable it directly from your code. This code will help you to automatically go to that screen.You can then check or uncheck it and then return back to the your screen.