Change Web's Work Week/First Day of Week Programmatically
-
06-10-2020 - |
Solución
You can access working weeks information by modifying regional settings on an SPWeb By Powershell :
$web = Get-SPWeb "http://yourweb"
$web.RegionalSettings.WorkDayStartHour = (8 * 60) #8h converted in minutes
$web.RegionalSettings.WorkDayEndHour= (20 * 60) #convert in minutes
you can access all properties of the SPWeb RegionalSettings $web.RegionalSettings
Same thing with C# code ;)
Regards,
Licenciado bajo: CC-BY-SA con atribución
No afiliado a sharepoint.stackexchange