<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I obtain the current country/region of the computer in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886801#M104924</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I would like to confirm whether the returned timezone information differentiates between specific regions.&lt;BR /&gt;For example, both Japan and Korea are in the +9 timezone—will it return "Tokyo Standard Time" and "Seoul Standard Time" separately? &lt;BR /&gt;Or will it show the same name for both, such as "Tokyo Standard Time," to indicate the timezone?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 04:50:32 GMT</pubDate>
    <dc:creator>BabyDoragon</dc:creator>
    <dc:date>2025-07-15T04:50:32Z</dc:date>
    <item>
      <title>How can I obtain the current country/region of the computer</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886787#M104922</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It is necessary to record the user's region ( likes US, Canada, Europe, etc. ). May I ask what methods are available to obtain the current country/region of the computer? Is it possible to get it using Get Environment Variable()? I couldn't find which variables this function can retrieve.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 02:06:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886787#M104922</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2025-07-15T02:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the current country/region of the computer</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886799#M104923</link>
      <description>&lt;P&gt;I believe you have to get it from the Windows Registry.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;powershellCmd = "powershell -command \!"(Get-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation' -Name 'TimeZoneKeyName').TimeZoneKeyName\!"";

timezone = RunProgram(
  executable("cmd.exe"),
  options({"/C", powershellCmd}),
  readFunction("Text")
);

Show(timezone);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jul 2025 03:46:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886799#M104923</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-07-15T03:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the current country/region of the computer</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886801#M104924</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would like to confirm whether the returned timezone information differentiates between specific regions.&lt;BR /&gt;For example, both Japan and Korea are in the +9 timezone—will it return "Tokyo Standard Time" and "Seoul Standard Time" separately? &lt;BR /&gt;Or will it show the same name for both, such as "Tokyo Standard Time," to indicate the timezone?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 04:50:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-current-country-region-of-the-computer/m-p/886801#M104924</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2025-07-15T04:50:32Z</dc:date>
    </item>
  </channel>
</rss>

