<div dir="ltr">The DateOrder property only give the format order but do not change the separator / to -  <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 2:20 PM, David Copeland <span dir="ltr"><<a href="mailto:david.copeland@jsidata.ca" target="_blank">david.copeland@jsidata.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>That would be the DateOrder property of
      a TDate Edit, set it to doYMD.<br>
      <br>
      Dave Copeland.<div><div class="h5"><br>
      <br>
      On 06/18/2013 08:10 AM, Johan Tu Toit wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>Good day,<br>
            <br>
          </div>
          Please how to change the Date format for the TDateEdit
          component to YYYY-MM-DD instead of using the default
          DD/MM/YYYY?<br>
          <br>
        </div>
        Thanks in advance <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><span class="HOEnZb"><font color="#888888"><pre>--
_______________________________________________
Lazarus mailing list
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.freepascal.org</a>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
    </font></span></blockquote>
    <br>
  </div>

<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br></div>