Convert UTC dates to local timezone offset automatically(javascript.codeislogic.com)

submitted by bsboardbsboard(25) 4 years, 4 months ago

Setup asp.net to output UTC timestamps which on the client side are converted to the user's local timezone automatically. Simple, compliant implementation that degrades gracefully.

1 comment |category: |Views: 116

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by foswhichfoswhich(0) 4 years, 4 months ago 0

Not specifically related to .net, but this is a great article in general. I will be trying it out on a .NET blog I run.

Reply

information Login or create an account to comment on this story