Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Re: 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 download the WSH documentation here.
    [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en[/url]

    Ray at work

    "JT" <jeffreyl@sppinc.net> wrote in message
    news:eoTAD3lkDHA.2732@TK2MSFTNGP11.phx.gbl...
    > i have a date in the following format: 12/1/2003
    >
    > how do i reference just the 'day' portion of this date - in other words
    '1'
    >
    > if the date was 12/10/2003, then i would just want the '10'
    >
    > tia
    >
    > jt
    >
    >

    Ray at Guest

  2. Similar Questions and Discussions

    1. Date Formatting Error
      I'm experiencing an anomaly with ColdFusion when formatting a string variable as a date at the moment Daylight Savings Time happens. I set a string...
    2. formatting date() and nbsp;
      What I have is a date that I'd like to format to keep it together on one line using non-breaking spaces. I started with: date...
    3. 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...
    4. 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 =...
    5. Date Formatting Issue
      I have Access 2000. On a form, I want to show (in an unbound text box) how long an agreement has been effect, and format it in years and days. ...
  3. #2

    Default date formatting

    i have a date in the following format: 12/1/2003

    how do i reference just the 'day' portion of this date - in other words '1'

    if the date was 12/10/2003, then i would just want the '10'

    tia

    jt


    JT Guest

  4. #3

    Default Date Formatting

    Hi guys!!,

    I need some advice here. I have this data in my webservice.

    Sun Apr 1 00:00:00 GMT-0400 2007

    I want to display this in the datagrid with a format of MM/DD/YYYY

    <mx:AdvancedDataGridColumn headerText="Date" dataField="date">
    <mx:formatter>
    <mx:DateFormatter id="dateFormatter" formatString="MM/DD/YYYY" />
    </mx:formatter>
    </mx:AdvancedDataGridColumn>

    it works fine but the results is not what i expected it displays 04/01/400
    instead of 04/01/2007.

    Thanks.

    eztaburnak 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