Share via


Set Regional Settings for SharePoint 2013 using Powershell

Introduction

In SharePoint you can have the option to set the time for 12H or 24H, in the below section there is Powershell commands that sets regional settings to 24 h to true
Sometimes setting it to 24h can resolve issue if you are using different language than English and you set it to 12 h the time part may disappear so in this case setting it to 24h will resolve the issue

Script

$siteURL = "http://siteURL"
$site = Get-SPSite $siteURL 
Write-host - starting for $siteURL
  
$web = $site.OpenWeb()
$web.RegionalSettings.Time24 = $true
$web.Update()