DateField and Format

  1. #1

    DateField and Format

    I am using a DateField and have a problem with the format of the dates.

                    <ext:DateField    id="dtEntered" runat="server"  Format="d/m/Y" />
    Whenever I select a date of a date below the 10th it displays as "3/10/2010" i.e. No leading zero. In the documentation "d" should load a leading zero.

    Am I missing something else here?

    Thanks
    Glen
  2. #2
    Hi,

    With Ext.NET, you can use .NET DateTime format specifiers, such as dd/MM/yyyy.

    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Thank you!

Similar Threads

  1. DateField Format
    By Timothy in forum 1.x Help
    Replies: 4
    Last Post: Jun 07, 2013, 5:42 PM
  2. datefield format
    By norphos in forum 1.x Help
    Replies: 0
    Last Post: Jul 12, 2011, 4:28 PM
  3. DateField format
    By flaviodamaia in forum 1.x Help
    Replies: 0
    Last Post: Jul 01, 2009, 11:30 AM
  4. DateField Format
    By BLOZZY in forum 1.x Help
    Replies: 1
    Last Post: May 18, 2009, 3:41 PM
  5. DateField Format dd/MM/Y
    By Kaido in forum 1.x Help
    Replies: 2
    Last Post: Apr 13, 2009, 12:02 PM

Posting Permissions