LocalToUtc

1.4.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

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name LocalToUtc -RequiredVersion 1.4.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Gad Berger

Copyright

(c) 2017 Gad Berger. All rights reserved.

Package Details

Owners

Tags

time timezone utc convert

Functions

Convert-UtcToLocal Convert-LocalToUtc Convert-TimeZone

Dependencies

This module has no dependencies.

Release Notes


       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

Version History

Version Downloads Last updated
1.5.1 309 10/15/2019
1.5.0 205 9/21/2017
1.4.0 (current version) 11 9/20/2017
1.3.1 24 9/11/2017
1.3.0 12 9/10/2017
1.2.0 11 9/10/2017
1.1.0 11 9/8/2017
1.0.0 13 9/6/2017
Show more