Date and Time Analyzer
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29402
interpreted = N
texte = I wanted a quick way of telling what the date and time either in days/dateor time/secs. and I wanted to do it with as little effort as possible. So Iwrote this bit o webdna. You can input your date or days and it will convertit to the opposite of what you input. You can input your your time orseconds and it will convert it to the opposite of what you input. You cando both, but you have to delimit it with a comma. It is limited in the factthat if you try to check a date prior to 864000(07/22/0236) it will thinkyou are trying to do time and not a date.******* Just copy from here down and create your own page. ********[!]This script written by Robert Minor at Cybermill Communications makers ofSuperCatalog the definitive solution in online ecommerce. You are free touse it, adapt it, modify it, and distribute it provided you do not remove orchange this comment line.[/!]
WebDNA Date/Time Analyzer [text multi=T]odate=&otime=&sdate=&stime=&otimetype=&odatetype=[/text] [showif [submit]=Convert] [ListWords words=[sdate]&delimiters=,] [showif [word]^/] [text multi=T]odate=[word]&odatetype=zdate[/text] [/showif] [showif [word]^:] [text multi=T]otime=[word]&otimetype=ztime[/text] [/showif] [hideif [word]^/] [hideif [word]^:] [showif [math][word][/math]<86400] [text multi=T]otime=[word]&otimetype=seconds_to_time[/text] [/showif] [showif [math][word][/math]>86399] [text multi=T]odate=[word]&odatetype=days_to_date[/text] [/showif] [/hideif] [/hideif] [/ListWords] [/showif]
******* End create your own page. ********Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.> From: Matt Helbing
> Reply-To: (WebCatalog Talk)> Date: Tue, 21 Mar 2000 12:46:55 -0600> To: (WebCatalog Talk)> Subject: Interpret Around Contexts?> > Mac OS 8.6 / WebStar 4.x / WC 3.0.7 plug-in> > Can anyone think of a reason why this code doesn't work?> > [interpret][[_licommand]> cart=[cart]&sku=[_curSKU]&db=accessories.db]quantity=[_curquantity]&textA=[_> curname][/[_licommand]][/interpret]> > where [_licommand] is either setlineitem or addlineitem.> > > This code will correctly add items or update items in the shopping cart, but> the textA reference includes an error message stating that [/setlineitem] or> [/addlineitem] was expected, but found [/interpret] instead.> > It is as if WebCat is properly interpreting the opening [_licommand], but> not the closing [_licommand].> > Any input would be appreciated.> > --> Matt> > > -------------------------------------------------------------> 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> -------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
I wanted a quick way of telling what the date and time either in days/dateor time/secs. and I wanted to do it with as little effort as possible. So Iwrote this bit o webdna. You can input your date or days and it will convertit to the opposite of what you input. You can input your your time orseconds and it will convert it to the opposite of what you input. You cando both, but you have to delimit it with a comma. It is limited in the factthat if you try to check a date prior to 864000(07/22/0236) it will thinkyou are trying to do time and not a date.******* Just copy from here down and create your own page. ********[!]This script written by Robert Minor at Cybermill Communications makers ofSuperCatalog the definitive solution in online ecommerce. You are free touse it, adapt it, modify it, and distribute it provided you do not remove orchange this comment line.[/!] WebDNA Date/Time Analyzer [text multi=T]odate=&otime=&sdate=&stime=&otimetype=&odatetype=[/text] [showif [submit]=Convert] [ListWords words=[sdate]&delimiters=,] [showif [word]^/] [text multi=T]odate=[word]&odatetype=zdate[/text] [/showif] [showif [word]^:] [text multi=T]otime=[word]&otimetype=ztime[/text] [/showif] [hideif [word]^/] [hideif [word]^:] [showif [math][word][/math]<86400] [text multi=T]otime=[word]&otimetype=seconds_to_time[/text] [/showif] [showif [math][word][/math]>86399] [text multi=T]odate=[word]&odatetype=days_to_date[/text] [/showif] [/hideif] [/hideif] [/ListWords] [/showif] ******* End create your own page. ********Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.> From: Matt Helbing > Reply-To: (WebCatalog Talk)> Date: Tue, 21 Mar 2000 12:46:55 -0600> To: (WebCatalog Talk)> Subject: Interpret Around Contexts?> > Mac OS 8.6 / WebStar 4.x / WC 3.0.7 plug-in> > Can anyone think of a reason why this code doesn't work?> > [interpret][[_licommand]> cart=[cart]&sku=[_curSKU]&db=accessories.db]quantity=[_curquantity]&textA=[_> curname][/[_licommand]][/interpret]> > where [_licommand] is either setlineitem or addlineitem.> > > This code will correctly add items or update items in the shopping cart, but> the textA reference includes an error message stating that [/setlineitem] or> [/addlineitem] was expected, but found [/interpret] instead.> > It is as if WebCat is properly interpreting the opening [_licommand], but> not the closing [_licommand].> > Any input would be appreciated.> > --> Matt> > > -------------------------------------------------------------> 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> -------------------------------------------------------------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
Bob Minor
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:
Banners (1997)
multiGroupChecker code redundant? (2000)
Using [redirect] in the middle of a page? (1999)
[/application] error? (1997)
WebDNA to Apache RewriteMap (2005)
$flushdatabases question ... (1998)
using showpage and showcart commands (1996)
WebCat hosting providers? (1997)
Fun with dates (1997)
plugin vs. acgi results (1998)
Note on MySQL Encrypt/Decrypt (2005)
RequiredFields template (1997)
Nested tags count question (1997)
Dynamic PDFs? (2004)
[WebDNA] Unable to get to admin on developer copy (2010)
I'm having trouble using [url][interpret][math] together inlookup (1997)
RE:math context ignores date prefs? (1998)
Database Not Found Problem (2004)
Quotation Marks in Database (1998)
syntax question, not in online refernce (1997)