Table of contents
TOC
Collapse the table of content
Expand the table of content

DateTimeZone.ZoneHours

Owen Duncan|Last Updated: 4/19/2018

About

Returns a time zone hour value from a DateTime value.

DateTimeZone.ZoneHours(dateTime as datetimezone) as nullable number  

Arguments

ArgumentDescription
dateTimeThe DateTimeZone to check against.

Example

DateTimeZone.ZoneHours(DateTime.FromText("12:56:20-08:00")) equals -8  
© 2018 Microsoft