A timestamp getter for powershell