Skip to content

A simple library to get the broswer time zone and display clients local time.

Notifications You must be signed in to change notification settings

jbomhold3/GetBroswerTimeZone

Repository files navigation

GetBroswerTimeZone

A simple library to get the broswer time zone and display clients local time.

Install

NuGet Pre Release

Useage

Include <script src="_content/GetBroswerTimeZone/TimeZone.js"></script> in your _Host.CsHtml file

<UTCToLocal Date="DateTime.UtcNow" Pattern="MMMM dd" /><br />
<UTCToLocal Date="DateTime.UtcNow" /><br />
<UTCToDateTime TimeZone="Eastern Standard Time" Date="DateTime.UtcNow" Pattern="MMMM dd" /><br />
<UTCToDateTime TimeZone="Eastern Standard Time" Date="DateTime.UtcNow" /><br />

About

A simple library to get the broswer time zone and display clients local time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published