Feature requests
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17566
interpreted = N
texte = Here's another 2 suggestion to add to the growing list:1. [DATETIME] & [MODDATETIME] with the proper results when [MATH] is applied.These would take the format MM:DD:YY:HH:MM:SS (like [DATE] and [TIME] nextto each other).I have a few uses for this, but I think this is the most basic usage example:Currently, if I want to find all files that are more than 24hrs old anddelete them, I can't just say [HIDEIF[MATH]{[TIME]}-{[MODTIME]}[/MATH]<86400][DELETEFILE][/HIDEIF], I have toaccount for the day as well using more [SHOWIF]s or converting days toseconds, etc. I realize that this isn't too difficult to do, but it wouldbe much easier to say:[HIDEIF [MATH]{[DATETIME]}-{[MODDATETIME]}[/MATH]<86400].2. I'd also like to see date formatting put into [MATH DATE]. Instead ofusing:[FOMRAT Days_TO_Date %a, %B][MATH]{[DATE]}+3[/MATH][/FORMAT]I'd like to use the cleaner:[MATH DATE %a, %B]{[DATE]}+3[/MATH]MichaelMichael Winston *By e-mail!: michaelw@dhorse.comInternet Coordinator *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Associated Messages, from the most recent to the oldest:
Here's another 2 suggestion to add to the growing list:1. [DATETIME] & [MODDATETIME] with the proper results when
[math] is applied.These would take the format MM:DD:YY:HH:MM:SS (like
[date] and
[time] nextto each other).I have a few uses for this, but I think this is the most basic usage example:Currently, if I want to find all files that are more than 24hrs old anddelete them, I can't just say [HIDEIF
[math]{
[time]}-{[MODTIME]}[/MATH]<86400]
[deletefile][/HIDEIF], I have toaccount for the day as well using more
[showif]s or converting days toseconds, etc. I realize that this isn't too difficult to do, but it wouldbe much easier to say:[HIDEIF
[math]{[DATETIME]}-{[MODDATETIME]}[/MATH]<86400].2. I'd also like to see date formatting put into [MATH DATE]. Instead ofusing:[FOMRAT Days_TO_Date %a, %B]
[math]{
[date]}+3[/MATH][/FORMAT]I'd like to use the cleaner:[MATH DATE %a, %B]{
[date]}+3[/MATH]MichaelMichael Winston *By e-mail!: michaelw@dhorse.comInternet Coordinator *By web!: http://www.dhorse.com/Dark Horse Comics, Inc. *By fax!: 503/654/9440
Michael Winston
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:
Running 2 two WebCatalog.acgi's (1996)
[WebDNA] TCPCONNECT & Timeout (2015)
Retrospect Backup Misses Empty Folders (2000)
2.0Beta Command Ref (can't find this instruction) (1997)
Alternating BGColors in Table Rows (1998)
Database Program (1997)
re: Large Database Options? (1999)
[append] problem (1997)
No. of items in shopping cart (2000)
shipcost (1997)
ShowNext (1997)
[Sum] function? (1997)
Cleaning up all the shopping carts (2000)
Credit Card Verification.... (1998)
Separate SSL Server (1997)
tmpl Vs DB (1999)
Shownext! (1998)
Problems passing [SKU] with $Replace in 2.0 (1997)
reading a email (2000)
4.0.x find (2000)