Date question

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53291
interpreted = N
texte = Hi! I'm trying to implement an timestamp function and have a question. What does the numerical result of [math]{[date]}[/math] represent? On my US Mac with a date of 10/07/2003, I get 731860. This is almost the number of days since year 01/01/0000, but not quite.... Regular Year: 731860/365=2005.096 Including Leap Years: 731860/365.25=2003.723 Including Leap Years and 11 days missing due to the Gregorian Reformation (731860+11)/365.25=203.754 Oct. 7, 2003 is the 280th day of the year: 280/365.25=0.7665982 Thanks, Andy ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Quick Date Question (Govinda 2008)
  2. Re: [WebDNA] Quick Date Question (Govinda 2008)
  3. Re: [WebDNA] Quick Date Question (Steve Craig 2008)
  4. Re: [WebDNA] Quick Date Question (Gil Poulsen 2008)
  5. [WebDNA] Quick Date Question (Steve Craig 2008)
  6. Re: Silly date question ( Donovan Brooke 2006)
  7. Re: Silly date question ( Donovan Brooke 2006)
  8. Re: Silly date question ( Steve Craig 2006)
  9. Re: Silly date question ( Steve Craig 2006)
  10. Re: Silly date question ( Donovan Brooke 2006)
  11. Re: Silly date question ( Gary Krockover 2006)
  12. Re: Silly date question ( Donovan Brooke 2006)
  13. Silly date question ( Steve Craig 2006)
  14. Re: Date question ( Donovan Brooke 2003)
  15. Re: Date question ( John Peacock 2003)
  16. Re: Date question ( Donovan Brooke 2003)
  17. Re: Date question ( Donovan Brooke 2003)
  18. Re: Date question ( Alex McCombie 2003)
  19. Re: Date question ( andy mowrey 2003)
  20. Re: Date question ( John Hill 2003)
  21. Date question ( andy mowrey 2003)
  22. Re: Date Question (Dan Strong 2002)
  23. Re: Date Question (Gary Krockover 2002)
  24. Re: Date Question (Dan Strong 2002)
  25. Re: Date Question (Kenneth Grome 2002)
  26. Re: Date Question (Jeff Logan 2002)
  27. Re: Date Question (Donovan 2002)
  28. Re: Date Question (Donovan 2002)
  29. Re: Date Question (Jeff Logan 2002)
  30. Re: Date Question (Chris List Recipient 2002)
  31. Re: Date Question (Jeff Logan 2002)
  32. Re: Date Question (Dan Strong 2002)
  33. Re: Date Question (Jeff Logan 2002)
  34. Re: Date Question (Gary Krockover 2002)
  35. Re: Date Question (Jeff Logan 2002)
  36. Re: Date Question (John Peacock 2002)
  37. Re: Date Question (Dan Strong 2002)
  38. Re: Date Question (Jeff Logan 2002)
  39. Re: Date Question (Dan Strong 2002)
Hi! I'm trying to implement an timestamp function and have a question. What does the numerical result of [math]{[date]}[/math] represent? On my US Mac with a date of 10/07/2003, I get 731860. This is almost the number of days since year 01/01/0000, but not quite.... Regular Year: 731860/365=2005.096 Including Leap Years: 731860/365.25=2003.723 Including Leap Years and 11 days missing due to the Gregorian Reformation (731860+11)/365.25=203.754 Oct. 7, 2003 is the 280th day of the year: 280/365.25=0.7665982 Thanks, Andy ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ andy mowrey

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Sorting by date (1997) [WebDNA] [OT] Multiple SSL certs on same server? (2014) 5.0 Pricing (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) More questions about serial number dishing (1997) creating an email message (1998) NumFound (1999) How can I record purchases to a database? (1998) Attn: Bug in GeneralStore example b15 (1997) HomePage Caution (1997) Silly Question (1997) Multiple Pulldowns (1997) IIS4b2 and WebCatalog b19 (1997) [WebDNA] Has [middle] always worked this way? (2014) Nested search (1997) New Cart No. on same page (2003) Runtime (1998) Cancel Subscription (1996) Protect (1997) problem serving foreign languages text (1997)