<doc>
  <legacy_id>1627</legacy_id>
  <name>twelveHourTime</name>
  <type>property</type>
  <syntax>
    <example>set the twelveHourTime to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Math, Logic, &amp; Dates</category>
  </classification>
  <references>
    <command tag="convert">convert Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies whether the <function tag="time">time</function> <control_st tag="function">function</control_st> uses a 12-hour clock or a 24-hour clock.</summary>
  <examples>
    <example>set the twelveHourTime to false</p><p>set the twelveHourTime to (the hilite of button "12 Hours")</example>
  </examples>
  <description>
    <p>Use the <b>twelveHourTime</b> <glossary tag="property">property</glossary> to operate with military-style 24-hour time.</p><p/><p><b>Value:</b></p><p>The <b>twelveHourTime</b> is true or false.</p><p/><p>By default, the <b>twelveHourTime</b> is true.</p><p/><p><b>Comments:</b></p><p>The setting of the <b>twelveHourTime</b> <glossary tag="property">property</glossary> affects the <function tag="format">format</function> in which the <function tag="time">time</function> <glossary tag="property">property</glossary> reports a time. It also affects the <function tag="format">format</function> of the <command tag="convert">convert</command> command when a time specifier is used.</p><p/><p>If the <b>twelveHourTime</b> is true, the time function <glossary tag="return">returns</glossary> a value including<code> AM </code>or<code> PM</code>. If the <b>twelveHourTime</b> is false,<code> AM </code>or<code> PM </code>is not included; instead, the hour is not reset to 1 after noon. For example, the time<code> 2:35 PM </code><a/>in 12-hour time is equivalent to<code> 14:35 </code>in 24-hour time.</p>
  </description>
</doc>