Re: Auto entering Friday's date in a field

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44501
interpreted = N
texte = On Tuesday, October 29, 2002, at 01:58 PM, Matthew Bohne wrote:> but on saturday you get -1...This test proves that the method works:[math show=f]today={[date]}[/math] [math show=f]thirty={[date]}+30[/math] [loop start=[today]&end=[thirty]] [FORMAT days_to_date][MATH][index] + (6 - [index]%7)[/MATH][/FORMAT]
[/loop]Results:11/01/2002 11/01/2002 11/01/2002 11/01/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/29/2002 11/29/2002 11/29/2002 11/29/2002 11/29/2002 11/29/2002 ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Auto entering Friday's date in a field (Pat Visone 2002)
  2. Re: Auto entering Friday's date in a field (Donovan Brooke 2002)
  3. Re: Auto entering Friday's date in a field (NovaDerm Skincare Science 2002)
  4. Re: Auto entering Friday's date in a field (Gyuri 2002)
  5. Re: Auto entering Friday's date in a field (Kenneth Grome 2002)
  6. Re: Auto entering Friday's date in a field (NovaDerm Skincare Science 2002)
  7. Re: Auto entering Friday's date in a field (Donovan 2002)
  8. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  9. Re: Auto entering Friday's date in a field (NovaDerm Skincare Science 2002)
  10. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  11. Re: Auto entering Friday's date in a field (Clint Davis 2002)
  12. Re: Auto entering Friday's date in a field (Donovan 2002)
  13. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  14. Re: Auto entering Friday's date in a field (Chris List Recipient 2002)
  15. Re: Auto entering Friday's date in a field (Matthew Bohne 2002)
  16. Re: Auto entering Friday's date in a field (Dan Strong 2002)
  17. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  18. Re: Auto entering Friday's date in a field (Chris List Recipient 2002)
  19. Re: Auto entering Friday's date in a field (Donovan 2002)
  20. Re: Auto entering Friday's date in a field (Donovan 2002)
  21. Re: Auto entering Friday's date in a field (Chris List Recipient 2002)
  22. Re: Auto entering Friday's date in a field (Michael Davis 2002)
  23. Re: Auto entering Friday's date in a field (Donovan 2002)
  24. Re: Auto entering Friday's date in a field (Matthew Bohne 2002)
  25. Re: Auto entering Friday's date in a field (Clint Davis 2002)
  26. Re: Auto entering Friday's date in a field (Alex McCombie 2002)
  27. Re: Auto entering Friday's date in a field (Dan Strong 2002)
  28. Auto entering Friday's date in a field (Pat Visone 2002)
On Tuesday, October 29, 2002, at 01:58 PM, Matthew Bohne wrote:> but on saturday you get -1...This test proves that the method works:[math show=f]today={[date]}[/math] [math show=f]thirty={[date]}+30[/math] [loop start=[today]&end=[thirty]] [FORMAT days_to_date][math][index] + (6 - [index]%7)[/MATH][/FORMAT]
[/loop]Results:11/01/2002 11/01/2002 11/01/2002 11/01/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/08/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/15/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/22/2002 11/29/2002 11/29/2002 11/29/2002 11/29/2002 11/29/2002 11/29/2002 ------------------------------------------------------------- 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://search.smithmicro.com/ Michael Davis

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:

final on include (1997) How do I make this faster???? (2000) Searching on 3 different fields *CORRECTION* (2003) Help! WebCat2 bug (1997) Cookies [was How do I get Google to crawl a WebCatsite?] (2003) How to implement 'email to a friend' feature? (2002) Tip: Image Maps (Server-Side) with WebCatalog (1997) How to Sort Summ data ? (1997) Can a database get stomped by simultaneous access? (1997) MacAuthorize hub, no modal password dialog? (1997) Extended [ConvertChars] (1997) WebCatalog for Postcards ? (1997) Delete file through browser (1999) old cart file deletion (2000) (2000) Fun with dates (1997) Format all of a sudden doesn't work (1997) MacWEEK article help needed (1996) [WebDNA] Sorry, WebCatalog server not running. (2008) Re:Running 2 two WebCatalog.acgi's (1996)