A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: date object

  1. #1
    Senior Member danleroux's Avatar
    Join Date
    Nov 2000
    Posts
    183
    Hi
    I have a code to generate a calendar. My logic works fine for any dates past jan 1 1970. Any year before that it gives the calendar from the prior month. Anyone know of anything it might be other then my code?
    Thanks

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Location
    London
    Posts
    961
    Might have something to do with the fact that some computers don't like working with times before they existed ???

  3. #3
    Senior Member
    Join Date
    Oct 2000
    Posts
    519
    The actionscript date object stores dates as a number of milliseconds from 01/01/1970. If the date represented is before that date, the number it stores should simply be a negative number.

    I don't know whether that might shed any light on what's going wrong??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center