{"id":715,"date":"2008-11-22T23:07:57","date_gmt":"2008-11-22T21:07:57","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=715"},"modified":"2008-11-22T23:07:57","modified_gmt":"2008-11-22T21:07:57","slug":"time-zone-information-monitor-information","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/715","title":{"rendered":"Time Zone Information &#038; Monitor Information"},"content":{"rendered":"<p>I am sharing a couple of utilities to be able to quick check system settings. TimeZoneInformation prints in a human friendly style <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms725481(VS.85).aspx\">TIME_ZONE_INFORMATION structure<\/a> as reported by Windows through <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms724421(VS.85).aspx\">GetTimeZoneInformation<\/a> API.<\/p>\n<pre>TIME_ZONE_INFORMATION:\r\n.Bias: -120\r\n.StandardName: FLE Standard Time\r\n.StandardDate: { .wYear 0, .wMonth 10, .wDay 5, .wDayOfWeek 0, .wHour 4, .wMinute 0, .wSecond 0, .wMilliseconds 0 }\r\n.StandardBias: 0\r\n.DaylightName: FLE Daylight Time\r\n.DaylightDate: { .wYear 0, .wMonth 3, .wDay 5, .wDayOfWeek 0, .wHour 3, .wMinute 0, .wSecond 0, .wMilliseconds 0 }\r\n.DaylightBias: -60\r\n[...]<\/pre>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image001.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-716\" title=\"TimeZoneInformation Screenshot\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image001-300x211.png\" alt=\"\" width=\"300\" height=\"211\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image001-300x211.png 300w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image001.png 665w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>A Visual C++ .NET 2008 source code <a href=\"http:\/\/trac2.assembla.com\/roatl-utilities\/browser\/trunk\/TimeZoneInformation\">is available from SVN<\/a>, release binary <a href=\"http:\/\/trac2.assembla.com\/roatl-utilities\/browser\/trunk\/TimeZoneInformation\/Release\/TimeZoneInformation.exe?format=raw\">included<\/a>.<\/p>\n<p>And the second utility is MonitorInformation to print multi-monitor related information again as reported by Windows, <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms724385.aspx\">GetSystemMetrics<\/a> and <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms534809(VS.85).aspx\">EnumDisplayMonitors<\/a> APIs.<\/p>\n<pre>System Metrics:\r\n  SM_XVIRTUALSCREEN: 0\r\n  SM_YVIRTUALSCREEN: 0\r\n  SM_CXVIRTUALSCREEN: 1680\r\n  SM_CYVIRTUALSCREEN: 1050\r\n  SM_CMONITORS: 1\r\n  SM_SAMEDISPLAYFORMAT: 1\r\n\r\nMonitor 0 at (0, 0) - (1680, 1050):\r\n  Coordinates (rcMonitor): (0, 0) - (1680, 1050)\r\n  Work Area (rcWork): (0, 0) - (1680, 1026)\r\n  Flags (dwFlags): 0x1\r\n  Device Name (szDevice): \\\\.\\DISPLAY1<\/pre>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image002.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-717\" title=\"MonitorInformation Screenshot\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image002-300x226.png\" alt=\"\" width=\"300\" height=\"226\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image002-300x226.png 300w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2008\/11\/22-image002.png 510w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>A Visual C++ .NET 2008 source code is <a href=\"http:\/\/trac2.assembla.com\/roatl-utilities\/browser\/trunk\/MonitorInformation\">available from SVN<\/a>, release binary <a href=\"http:\/\/trac2.assembla.com\/roatl-utilities\/browser\/trunk\/MonitorInformation\/Release\/MonitorInformation.exe?format=raw\">included<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am sharing a couple of utilities to be able to quick check system settings. TimeZoneInformation prints in a human friendly style TIME_ZONE_INFORMATION structure as reported by Windows through GetTimeZoneInformation API. TIME_ZONE_INFORMATION: .Bias: -120 .StandardName: FLE Standard Time .StandardDate: { .wYear 0, .wMonth 10, .wDay 5, .wDayOfWeek 0, .wHour 4, .wMinute 0, .wSecond 0, .wMilliseconds&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/715\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,13,2,20],"tags":[81,487,38,488,484,150,489],"class_list":["post-715","post","type-post","status-publish","format-standard","hentry","category-atl","category-source","category-utilities","category-wtl","tag-api","tag-atl","tag-c","tag-source","tag-utilities","tag-windows","tag-wtl"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=715"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/715\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}