Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 265215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:45:02+00:00 2026-05-11T22:45:02+00:00

In ActionScript, how do you get the day number at the end of the

  • 0

In ActionScript, how do you get the day number at the end of the month?

  • June Example

    getEndOfMonth() returns 30;

  • July Example

    getEndOfMonth() returns 31;

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:45:02+00:00Added an answer on May 11, 2026 at 10:45 pm

    In many languages, you can achieve this by getting a date value for the zeroth day of the following month, then working it out from that. So maybe try:

    var d:Date = new Date(2009,7,0);
    var day:Number=d.getDate();
    

    If that doesn’t work, you can get the first day of the following month, and subtract a day

    var millisecondsPerDay:int = 1000 * 60 * 60 * 24;
    var d:Date = new Date(2009,7,1);
    d.setTime(d.getTime() - millisecondsPerDay);
    var day:Number=d.getDate();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get an actionscript code used in a Flash CS5 example and
How to get value from match in ActionScript? What would an example be?
Where can I get a summary of differences between ActionScript 3.0 strict and standard
I´d like to know, how, through actionscript 3, to get an array of ARGB
In Actionscript you can have global variables like this: var number : Number =
Is it possible to reflect an object in actionscript and get the property names
Can I get the height of an image from its URL information in ActionScript
How do I get the root node of an XML object in Actionscript? One
Question. How can i get started with flash/flex or actionscript, to use the Skype4Com,
What is the common method, to get the current calendar week in actionscript-3 ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.