Re: Auto entering Friday's date in a field
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44496
interpreted = N
texte = That is mod 7. So yesterday, Monday for example, you get 2. Add 6-2=4days to Monday and you get next Friday.-Chris-----Original Message-----From: Donovan [mailto:donovan@ns1.ddbproductions.org]Sent: Tuesday, October 29, 2002 1:49 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: Auto entering Friday's date in a fieldO.K., you lost me on the %7... what does this do?DonovanChris List Recipient wrote:> Perhaps a simple approach:>> [FORMAT days_to_date][MATH]{[DATE]} + (6 - {[DATE]}%7)[/MATH][/FORMAT]>> -Chris>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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:
That is mod 7. So yesterday, Monday for example, you get 2. Add 6-2=4days to Monday and you get next Friday.-Chris-----Original Message-----From: Donovan [mailto:donovan@ns1.ddbproductions.org]Sent: Tuesday, October 29, 2002 1:49 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: Auto entering Friday's date in a fieldO.K., you lost me on the %7... what does this do?DonovanChris List Recipient wrote:> Perhaps a simple approach:>> [FORMAT days_to_date][math]{[date]} + (6 - {[date]}%7)[/MATH][/FORMAT]>> -Chris>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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/
Chris List Recipient
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:
Template Encrypt Speed (1998)
Uploading out of FMP (2001)
[MATH] and Dates (1998)
Encrypt Users.db problem (1998)
Is this possible, WebCat2.0 and checkboxes (1997)
WebCat, The Trend, & Consolidating... (1997)
IE Cache Problems... (1999)
Multiple catalog databases and showcart (1997)
listfiles-looking for slick solution (1997)
What is the maximum record length? (1998)
replace problem (1999)
emailer (1997)
WebCatalog2 Feature Feedback (1996)
OT: Urgent help with Windows and Javascript (2003)
Replace/Commit not Replacing/Commiting (2000)
[WebDNA] Image resizing on the fly (2012)
Still Stumped on ShowNext...HELP! (1997)
Site Search Concepts (2003)
[WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016)
Changing the value assigned to a formvariable (2000)