• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Extending ActionScript > Extending the Date Object

Extending the Date Object

Working with dates is important in a number of applications. Imagine you have to determine how many days there are between two dates. Or perhaps you need to know what day of the week it will be, say, ten years from today. At first you might think including calendar data for each month could be used to solve the problem; however, this does not account for leap years.

The Julian day was proposed by a French scholar, Joseph Scaliger, in 1583, as a method of reconciling dates found in historical documents. It's believed that Joseph derived the name Julian from his father's name, Julius.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint