Re: Auto entering Friday's date in a field

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44504
interpreted = N
texte = On Tuesday, October 29, 2002, at 02:42 PM, Donovan wrote:> [FORMAT days_to_date][MATH]{[DATE]} + (6 - {[DATE]}%7)[/MATH][/FORMAT] > > Chris List Recipient wrote: > >> That is mod 7. So yesterday, Monday for example, you get 2. Add >> 6-2=4 >> days to Monday and you get next Friday. > > What day is 00/00/0000? > >Logically, if the first day of the week is Sunday then the first date should be a sunday. To test, [FORMAT days_to_date %a][MATH]{00/00/0000}[/MATH][/FORMAT] produces Sun on my OS X server.Answer: Sunday.Mike ------------------------------------------------------------- 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 02:42 PM, Donovan wrote:> [FORMAT days_to_date][math]{[date]} + (6 - {[date]}%7)[/MATH][/FORMAT] > > Chris List Recipient wrote: > >> That is mod 7. So yesterday, Monday for example, you get 2. Add >> 6-2=4 >> days to Monday and you get next Friday. > > What day is 00/00/0000? > >Logically, if the first day of the week is Sunday then the first date should be a sunday. To test, [FORMAT days_to_date %a][math]{00/00/0000}[/MATH][/FORMAT] produces Sun on my OS X server.Answer: Sunday.Mike ------------------------------------------------------------- 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:

Multiple 'Users.db' files not possible (1997) Date Sorting (1997) RE: E-mailer error codes (1997) Return records from another (1997) php vs WebCatalog (2000) [WebDNA] v7.x [thisurl] (2010) [WebDNA] Anyone implement http://mollom.com/ or http://akismet.com/? (2009) [WebDNA] v.7 and eCommerce (2012) Compressed cookies? (2003) MATH TIME (1997) [include] affect on filepaths for links? (1997) PSC recommends what date format yr 2000??? (1997) NT Manual (1997) Error Lob.db records error message not name (1997) Possible Macv2.1b2 Merge Bug (1997) ShowIf variables (1997) Just Testing (1997) WebCatalog NT (1996) Server IP address-thanks (2004) 4.5 license (mac classic) for sale? (2004)