Re: [date] for today's date, while inside old order file
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18148
interpreted = N
texte = At 9:36 AM -0800 6/9/98, Sandra L. Pitner is rumored to have typed:> I'm working on some store administration pages. One thing I'm perplexed> about is how to get today's date stored to a datatable being appended> when I'm inside an orderfile context. [date] is interpreted as the> shopping cart field [date]. Is there a way to force a value of today's> date for my datatable appending? I want to record when this appending> action is taking place, which is not related to the date of the order.>> I need to be inside the [orderfile] context for the other fields being> appended.I would pass the date into a MATH variable at the top of the page.e.g.[MATH SHOW=F]D={[DATE]}[/MATH]...Then call up the variable anywhere that you want today's date.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:
At 9:36 AM -0800 6/9/98, Sandra L. Pitner is rumored to have typed:> I'm working on some store administration pages. One thing I'm perplexed> about is how to get today's date stored to a datatable being appended> when I'm inside an orderfile context.
[date] is interpreted as the> shopping cart field
[date]. Is there a way to force a value of today's> date for my datatable appending? I want to record when this appending> action is taking place, which is not related to the date of the order.>> I need to be inside the
[orderfile] context for the other fields being> appended.I would pass the date into a MATH variable at the top of the page.e.g.[MATH SHOW=F]D={
[date]}[/MATH]...Then call up the variable anywhere that you want today's date.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:
Where is f2? (1997)
Custom WebCat Prefs ... (1997)
[WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (2009)
Limit to Field Length in DB (1998)
Ok here is a question? (1997)
$Replace with [founditems] (1997)
Absolute path (2003)
WebCat2 - Getting to the browser's username/password data (1997)
WebStar WebCat Crashing a lot (2004)
Recursive includes (1998)
WebCatalog Hosting (1996)
quick GREP question (2001)
2.0 Info (1997)
OT: WebDNA and LINUX (2004)
Beta Documentation (1997)
Using Cookie for client specific info? (1997)
Some Questions (1997)
off topic - dna snipets (1997)
The List is Changing (1997)
Date math (1997)