Changed all date commands to Get-date to avoid problems with unix type shells (git, cygwin, ETC...)