What is the common method, to get the current calendar week in actionscript-3?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
It might be a good idea to re-cast the problem so you can get the day number in the current year, you’ll be able to use it for more date based calculations if you have to. That’s most easily done with a static array of ints and a bit of arithmetic…
Beware of a few things:
I wound up writing a whole library of date based arithmetic functions for fiscal and regular calendars. It is a tricky problem if you are operating in any environment where your user has their own version of the calendar – i.e. any financial application at all.