Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Get ISO 8601 week number - Get-Date -UFormat %$V or %W are not reliable or flexible
- ## From Insomniac at https://stackoverflow.com/questions/46691143/get-the-iso-8601-week-of-year-of-a-given-date-in-powershell
- (Get-Culture).Calendar.GetWeekOfYear( (Get-Date) ,[ System.Globalization.CalendarWeekRule]::FirstFourDayWeek , [DayOfWeek]::Monday )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement