NET doesn't seem to have very good links between DateTime and TimeZoneInfo, so I couldn't just programmatically run through them all to check. I did some looking as I wanted to see what the value would be for other GMT offset settings, but. The output of the above for my time zone is EST. My regular expression probably leaves something to be desired. naive perhaps, it's one way to get an abbreviation without a switch statement: ::Replace(::Local.StandardName, '()\w+\s*', '$1')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |