title: Date and Time Culture Format based on Country in JavaScript
body: <p>I actually have a simple task,
  I want to display a date and time (current time) in my website using JavaScript,
  but the time can be displayed in a specific ways using two paramaters:</p>
  
  <p>The first parameter is the TimeZone, for example ("+2" or "-7")</p>
  
  <p>The second parameter is the Culture, for example("Japan" or "China" or "En-US")</p>
  
  <p>if the second parameter is "Japan", then it will Display the years,months, and days separated by some Japanese characters,</p>
  
  <p>If the second parameter is "En-US", then it will display: Friday, July 5, 2013</p>
  
  <p>Basically, I can do this in VB .NET with:</p>
  
  <pre><code>Dim DateJ as String=""
  Dim DateNow as Date=Now
  DateJ = Format(GetDateTimeBasedOnTimeZone(DateNow,"+2"), GetCultureFormat("Japan"))
  </code></pre>
  
  <p>the GetCultureFormat function mainly doing this in VB.NET:</p>
  
  <pre><code> Dim CItm As Globalization.CultureInfo = Globalization.CultureInfo.GetCultureInfo("Japan")
  </code></pre>
  
  <p>But I can't find a way to do the exact same thing in JavaScript,</p>
  
  <p>I even looked and searched on the internet and even <a href="http://www.datejs.com/" rel="nofollow">DateJS</a></p>
  
  <p>But so far I can only find how to do the first parameter, which is to change the current time to be based on the TimeZone("+2" or "+7"), but not for the second parameter, which is to display the time based on the Country Culture</p>