Getting the day of the month

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

  1. #1

    Default Getting the day of the month

    I think it is kind of odd that the "day" property in the Date class will only
    return the day of the week and not the day of the month... How would you go
    about getting the day of the month selected lets just from a DateField entry...
    so lets just say some one does something like this

    var date:Date = DateFieldEntry.selectedDate;
    trace(date.day.toString());

    It give me back the day of that particular week in the month... but I really
    don't have any use for that... I need the day of the month! How would I go
    about getting that?


    xyco45 Guest

  2. Similar Questions and Discussions

    1. Get last day of month
      Hi, Is there a way to get the last day of each month using CFMX7 pls? E.g. I want to obtain the last day of each month, 30th June 2005...
    2. to convert a month to previous month
      How to convert a month to previous month in a very easy way? For example, I have AUGUST, but I want JULY to return. Thanks. *** Sent via...
    3. LAST DAY OF MONTH
      How can I get the last day for the current month?
    4. [PHP] LAST DAY OF MONTH
      wow. I missed that one in the manual. I guess it's time for me to call it a night. Thanks. -----Original Message----- From: Sn!per Sent:...
    5. Month(x) vs Between(x and y)
      With few exceptions, if a column is in an expression in a search condition, no index on that column will be useable by the query processor. In...
  3. #2

    Default Re: Getting the day of the month

    property date = day of the month

    jylaxx Guest

  4. #3

    Default Re: Getting the day of the month

    yeah... I know the "date" property returns a numeric value of the current
    month, day and year... but I was hoping there was a property of some sort that
    I could just use instead of having to parse the numeric value returned for what
    I want..

    xyco45 Guest

  5. #4

    Default Re: Getting the day of the month

    not sure to understand you...
    property Date.date or Date.getDate return the day of the month and that's all !!
    It is not what you want ??????????
    jylaxx 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