LocalToUtc
1.5.0
Provides functions to convert between time zones, as well as between the local system time and UTC.
Minimum PowerShell version
4.0
Installation Options
Owners
Copyright
(c) 2017 Gad Berger. All rights reserved.
Package Details
Author(s)
- Gad Berger
Tags
Functions
Convert-UtcToLocal Convert-LocalToUtc Convert-TimeZone
Dependencies
This module has no dependencies.
Release Notes
1.5.0
* Added argument completers for -TimeZone, -FromTimeZone and -ToTimeZone parameters
* Argument completers are only available on powershell >= 5.0
* Fixed a bug when not sending a time parameter to Convert-UtcToLocal
1.4.0
* Added a generic Convert-TimeZone function
* Updated Convert-LocalToUtc and Convert-UtcToLocal to use Convert-TimeZone
* Breaking Changes
- Renamed the -LocalTime parameter to -Time for Convert-LocalToUtc
- Renamed the -UtcTime parameter to -Time for Convert-UtcToLocal
1.3.1
* Lowered the required version of PS to 4.0
1.3.0
* Intorduced pipeline support!
1.2.0
* Switched to using tzutil when Get-TimeZone is not available
* Replaced [System.DateTime]::Parse with Get-Date
1.1.0
* Moved the TimeZone to the second position in the unnamed parameters
* Only returning the converted time unless a -Verbose switch is used
1.0.0
* Initial release of Convert-LocalToUtc and Convert-UtcToLocal
FileList
- LocalToUtc.nuspec
- LocalToUtc.psd1
- LocalToUtc.psm1
- TimeZone-Completer.ps1