Tip: You can convert tickets to datetime and vice versa.
Convert ticks to datetime
1 2 3 4 5 |
# Solution 1 Get-Date -Date 636170048303904297 # Solution 2 [datetime]636170048303904297 |
Convert datetime to ticks
1 2 3 4 5 6 7 8 |
# Solution 1 [datetime]::Now.Ticks # Solution 2 (Get-Date).Ticks # Solution 3 (Get-Date -Date '12/10/2016 10:13:50 PM').Ticks |