get_date.ps1 144 B

12
  1. $timestamp = [math]::Floor([decimal]((Get-Date).ToUniversalTime() | Get-Date -UFormat %s))
  2. Set-Content -Path "build_date.txt" -Value $timestamp