Date formatting on your dynamic pages?

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Date formatting on your dynamic pages?

    In Access I have date set to Date/Time with default value Date() and it is in the correct
    format.

    On website date appears as mm/dd/yy

    I want it to appear as dd/mm/yy



    I Need Help! Guest

  2. Similar Questions and Discussions

    1. Date Formatting
      Use the Day function. response.write day("12/1/2003") Of course, is that date the first of December, or the twelth of January? I suggest you...
    2. formatting a date in cfselect
      Assuming a query "meetingdate" that grabs a unique value of the 'meetingdate' field (a date/time field). In a form, that query is used to populate a...
    3. Formatting and sorting date
      I have an asp page which displays records from an access table. One of the fields in the table is a date field. The regional settings on the...
    4. formatting date
      On 30/7/03 2:18 PM, in article bg7guu$b7j$1@forums.macromedia.com, "JemJam" <webforumsuser@macromedia.com> wrote: The systemDate object will...
    5. Date - formatting
      I'm needing to assign the following variable with the following data from the date. Does anyone have any help they could offer please? date_day =...
  3. #2

    Default Re: Date formatting on your dynamic pages?

    That's normal, that's the interesting US date format...

    I made myself a neat little function that formats the date as dd.mm.yy
    (Swiss format), and that works fine.


    I Need Help! wrote:
    > In Access I have date set to Date/Time with default value Date() and it is in the correct
    > format.
    >
    > On website date appears as mm/dd/yy
    >
    > I want it to appear as dd/mm/yy
    >
    >
    >
    bthouin Guest

  4. #3

    Default Re: Date formatting on your dynamic pages?

    ..... and it is?




    "bthouin" <bernard_thouin@bluewin.ch> wrote in message
    news:d1hj47$kia$1@forums.macromedia.com...
    That's normal, that's the interesting US date format...

    I made myself a neat little function that formats the date as dd.mm.yy
    (Swiss format), and that works fine.


    I Need Help! wrote:
    > In Access I have date set to Date/Time with default value Date() and it is in the
    correct
    > format.
    >
    > On website date appears as mm/dd/yy
    >
    > I want it to appear as dd/mm/yy
    >
    >
    >

    I Need Help! Guest

  5. #4

    Default Re: Date formatting on your dynamic pages?

    It would be
    SELECT format(DateField, "d/m/yyyy")
    FROM Table
    You can format the date however you like, eg dddd=weekday name (Saturday)
    ddd= short weekday(Sat) mmmm=month (March) mmm = short month (Mar) and so
    on.

    Cheers,
    Jon

    "I Need Help!" <iamedia-nospam@hotmail.com> wrote in message
    news:d1i7up$ffm$1@forums.macromedia.com...
    > .... and it is?
    >
    >
    >
    >
    > "bthouin" <bernard_thouin@bluewin.ch> wrote in message
    > news:d1hj47$kia$1@forums.macromedia.com...
    > That's normal, that's the interesting US date format...
    >
    > I made myself a neat little function that formats the date as dd.mm.yy
    > (Swiss format), and that works fine.
    >
    >
    > I Need Help! wrote:
    >> In Access I have date set to Date/Time with default value Date() and it
    >> is in the
    > correct
    >> format.
    >>
    >> On website date appears as mm/dd/yy
    >>
    >> I want it to appear as dd/mm/yy
    >>
    >>
    >>
    >
    >

    Jon Spivey Guest

  6. #5

    Default Re: Date formatting on your dynamic pages?

    I was told this, and it works.


    place this script <%Session.LCID = 2057%> just below the opening script (being UK) . See
    link for the code that suites your own country.

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsmscLCID.asp[/url]





    thanks for your the help!








    "Jon Spivey" <jons@mvps.org> wrote in message news:d1ia03$hoa$1@forums.macromedia.com...
    It would be
    SELECT format(DateField, "d/m/yyyy")
    FROM Table
    You can format the date however you like, eg dddd=weekday name (Saturday)
    ddd= short weekday(Sat) mmmm=month (March) mmm = short month (Mar) and so
    on.

    Cheers,
    Jon

    "I Need Help!" <iamedia-nospam@hotmail.com> wrote in message
    news:d1i7up$ffm$1@forums.macromedia.com...
    > .... and it is?
    >
    >
    >
    >
    > "bthouin" <bernard_thouin@bluewin.ch> wrote in message
    > news:d1hj47$kia$1@forums.macromedia.com...
    > That's normal, that's the interesting US date format...
    >
    > I made myself a neat little function that formats the date as dd.mm.yy
    > (Swiss format), and that works fine.
    >
    >
    > I Need Help! wrote:
    >> In Access I have date set to Date/Time with default value Date() and it
    >> is in the
    > correct
    >> format.
    >>
    >> On website date appears as mm/dd/yy
    >>
    >> I want it to appear as dd/mm/yy
    >>
    >>
    >>
    >
    >


    I Need Help! Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139