TimePlugin.TimeZoneOffset(IFormatProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the local time zone offset from UTC
[Microsoft.SemanticKernel.KernelFunction]
public string TimeZoneOffset(IFormatProvider? formatProvider = default);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.TimeZoneOffset : IFormatProvider -> string
Public Function TimeZoneOffset (Optional formatProvider As IFormatProvider = Nothing) As String
Parameters
- formatProvider
- IFormatProvider
Returns
The local time zone offset from UTC
- Attributes
Examples
{{time.timeZoneOffset}} => -08:00