Timestamp/cart replacement was RE: Robust WebDNA Job Manager /
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66395
interpreted = N
texte = I use an include to do the same thing, though I just use: [text]date_num=[math]{[date]}[/math][/text][text]time_num=[math]{[time]}[/math][/text][text]RandomIDNum=[cart]_[date_num]_[time_num][/text]---------------------------------------------------------------David BastedoTen Plus One Communications416.603.2223x1http://www.10plus1.com -----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf OfDan StrongSent: Friday, March 10, 2006 1:45 PMTo: WebDNA TalkSubject: Re: Robust WebDNA Job Manager / Accountant>I was also going to change the version requirements from commerce>edition to developer addition so that the ISP wouldn't have to pony up>for the more expensive WebDNA version... However, right now it requiresthe cart tags.Change from [cart] to [timestamp] (basically write your own cartnumbers).Add this somewhere global (pre-parse script, etc.):[text show=f]timestamp=[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]Then do a global find & replace on the entire app and replace allinstances of "[cart]" with "[timestamp]"Would that work for your purposes?-Dan-------------------------------------------------------------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://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- Timestamp/cart replacement was RE: Robust WebDNA Job Manager / ( "David Bastedo" 2006)
|
I use an include to do the same thing, though I just use: [text]date_num=[math]{[date]}[/math][/text][text]time_num=[math]{[time]}[/math][/text][text]RandomIDNum=[cart]_[date_num]_[time_num][/text]---------------------------------------------------------------David BastedoTen Plus One Communications416.603.2223x1http://www.10plus1.com -----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf OfDan StrongSent: Friday, March 10, 2006 1:45 PMTo: WebDNA TalkSubject: Re: Robust WebDNA Job Manager / Accountant>I was also going to change the version requirements from commerce>edition to developer addition so that the ISP wouldn't have to pony up>for the more expensive WebDNA version... However, right now it requiresthe cart tags.Change from [cart] to [timestamp] (basically write your own cartnumbers).Add this somewhere global (pre-parse script, etc.):[text show=f]timestamp=[math]((([math]{[date]}[/math])-1)*86400)+([math]{[time]}[/math])[/math][/text]Then do a global find & replace on the entire app and replace allinstances of "[cart]" with "[timestamp]"Would that work for your purposes?-Dan-------------------------------------------------------------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://webdna.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://webdna.smithmicro.com/
"David Bastedo"
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:
Announcing general availabilty of WebDNA 4.5 release (2002)
[countWords]? (1997)
Am I going senile? (Price recalc based on quantity) (1997)
Include a big block of text (1997)
Many $WebCat.exe processes (1998)
Order not created error (1997)
Summing fields (1997)
WebDNA update from Smith Micro (2002)
Protect vs Authenicate (1997)
Itools, WEBCAT OSX (2003)
WC 4 & Cybercash (2000)
[WebDNA] Anyone knows how to shell reboot? (2013)
Field name-subcategory (1997)
$append (1998)
[isfile] ? (1997)
PageMaker/Quark to db (1999)
AAgghh!! Help, please. SSL strikes again. (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
WebCat2final1 crashes (1997)
problems with 2 tags (1997)