Tools/Update-BCDevVersionDateTime.ps1
Function Update-BCDevVersionDateTime { param ( [Parameter(Position=0, Mandatory=$true)] [Version]$Version ) [Version]$NewVersion = "$($Version.major).$($Version.minor)."+[String](New-TimeSpan -start '2000-01-01' -End (get-date)).Days+'.'+[String]([Int](New-TimeSpan -start (get-date -Hour 0 -Minute 0 -Second 0) -End (get-date)).TotalSeconds) return $NewVersion } Export-ModuleMember -Function Update-BCDevVersionDateTime |