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:
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:
shoppingcart reload qty (1997)
WebMerchant 1.6 and https (1997)
Performance Settings (2000)
Shipping [grandtotal] solution (1997)
How to Sort Summ data ? (1997)
Late on Friday.... brain fried (2002)
2 easy questions re: [showif] and [sendmail] (1997)
List Archives (2005)
service stop and restart (1997)
Comments Please ... Omnis Studio v WC (2001)
refreshing IE with posted .tmpl (1997)
proper way to check if a container is empty? (2000)
Notepad problems (1998)
Is this possible, WebCat2.0 and checkboxes (1997)
ShowIf & CountChars (2000)
Newbie Help Needed (1998)
Search returns all, not 20 (1997)
Major Security Hole (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Server crashes when user saves or views html source (1998)