Skip to content

Instantly share code, notes, and snippets.

@TheLandolorien
Last active July 26, 2021 19:30
Show Gist options
  • Save TheLandolorien/2b3a29a2354952510952409b7ca931f4 to your computer and use it in GitHub Desktop.
Save TheLandolorien/2b3a29a2354952510952409b7ca931f4 to your computer and use it in GitHub Desktop.
User sfdxUser = [SELECT Id, Name, TimeZoneSidKey, UserPreferencesLightningExperiencePreferred FROM User WHERE Name='User User' LIMIT 1];
sfdxUser.TimeZoneSidKey = 'America/New_York';
update sfdxUser;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment