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

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

Install-Module -Name LocalToUtc -RequiredVersion 1.5.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name LocalToUtc -Version 1.5.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

Owners

Copyright

(c) 2017 Gad Berger. All rights reserved.

Package Details

Author(s)

  • Gad Berger

Tags

time timezone utc convert

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

Version History

Version Downloads Last updated
1.5.1 354 10/15/2019
1.5.0 (current version) 216 9/21/2017
1.4.0 22 9/20/2017
1.3.1 35 9/11/2017
1.3.0 23 9/10/2017
1.2.0 22 9/10/2017
1.1.0 22 9/8/2017
1.0.0 24 9/6/2017
Show more