force to [int] before assigning the value $ t0 ( get-date -uformat returns type [string]):
[int]$t0 = Get-date -UFormat "%H%M" $t1 = $t0 + 10
if you change the order, the powershell force start function will give the expected value:
$t0 = Get-date -UFormat "%H%M" $t1 = 10 + $t0
because the second operand is cast to the type of the first
source share