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 = 18147
interpreted = N
texte = Thanks! I haven't had to manipulate dates too much, so I didn't think of the math context!Thanks again.Sandy >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. > >Michael > >Michael Winston *By e-mail!: michaelw@dhorse.com >Internet 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:

    
  1. Re: [date] for today's date, while inside old order file (Michael Winston 1998)
  2. Re: [date] for today's date, while inside old order file (Sandra L. Pitner 1998)
  3. [date] for today's date, while inside old order file (Sandra L. Pitner 1998)
Thanks! I haven't had to manipulate dates too much, so I didn't think of the math context!Thanks again.Sandy >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. > >Michael > >Michael Winston *By e-mail!: michaelw@dhorse.com >Internet Coordinator *By web!: http://www.dhorse.com/ >Dark Horse Comics, Inc. *By fax!: 503/654/9440 > > > Sandra L. Pitner

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:

WebCat Refrence problem (2000) Price Not Appearing (2000) [protect admin] (1997) WebCat2 - [include] tags (1997) search w/international chars (1999) Newbie Tax Question (1997) WebCatalog as a ListServ (1998) WC2b15 File Corruption (1997) Credit card arrangement (2005) Lambada for Macintosh is Here! (1996) Re:Emailer setup (1997) shownext problems (1998) emailer settings and control questions (1997) Error: Too many nested [xxx] contexts (1997) emailer (1997) Possible Bug in 2.0b15.acgi (1997) ReadDateFormat bug in 3.x (1998) Building Calendars (1997) New Command prefs ... (1997) Protect (1997)