Re: [date format] w/in sendmail

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12326
interpreted = N
texte = >The date formats properly within a .tpl file, but not within a sendmail >context.I suspect it is not the sendmail so much as the fact that you're probably inside an [orderfile] context. That means the [date] you're getting is the date field of the order file, not today's date as you might expect.Try playing with [format] wrapped around the [date] field to get what you're looking for.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [date format] w/in sendmail (Grant Hulbert 1997)
  2. Re: [date format] w/in sendmail (Olin 1997)
  3. Re: [date format] w/in sendmail (Grant Hulbert 1997)
  4. [date format] w/in sendmail (Olin 1997)
>The date formats properly within a .tpl file, but not within a sendmail >context.I suspect it is not the sendmail so much as the fact that you're probably inside an [orderfile] context. That means the [date] you're getting is the date field of the order file, not today's date as you might expect.Try playing with [format] wrapped around the [date] field to get what you're looking for.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

WebDNA-Talk Digest mode broken (1997) Location of Webcat site in folder hierarchy (1997) HomePage Caution (1997) WebCatalog can't find database (1997) View Source from cache (1997) webcat2b12 CGI -- Date comparisons (1997) Protect (1997) Running _every_ page through WebCat-error.html (1997) U&P IIS concept (1998) Re:WebCat for mass emailings (1997) [WebDNA] maybe silly suggestion? [founditems] (2015) note re newbie ? re ssl and non-ssl site parts (1999) Protect (1997) Uploading very large image files (2003) Which Pref is faster? (1998) PCS Frames (1997) Secure Server (1999) Caching [include] files ... (1997) URL too Long? (1997) [WebDNA] WebDNA 7.1 (2012)