What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: calculating time

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46478
interpreted = N
texte = Thanks for the info it worked great. I am using a modified version of web builder, do you have any suggestions how I can implement a cart number verification, It would renumber a persons cart while they are browsing the store if an order had been placed and is already written to the orders.db I though I could do this in the invoice.tpl or thanks.tpl page when the order is being written that way it only has to verify the number once at the end of the session. I am having this problem with dual cart numbers because prople are bookmarking pages with a cart number in the address.Any ideas how I can go about verifying the cart number to the orders.db and if one is in existance it will convert the number without loosing the cart info?bob> From: Gary Krockover > Reply-To: (WebCatalog Talk) > Date: Wed, 25 Dec 2002 09:42:40 -0600 > To: (WebCatalog Talk) > Subject: Re: calculating time > > I was waiting for the kids to finally go to bed so that Santa could make > his appearance :) > > GK > > >> wow! i was not expecting a response so soon. Christmas is still going on, > I >> just could not stop thinking about this problem that I was having and >> obviously I am a workaholic. (so what's your excuse) Thanks so much. >> >>> From: Gary Krockover >>> Reply-To: (WebCatalog Talk) >>> Date: Wed, 25 Dec 2002 00:19:35 -0600 >>> To: (WebCatalog Talk) >>> Subject: Re: calculating time >>> >>> What, working on Christmas Eve? Or is Christmas over where ever you're > at? >>> :) >>> >>> You could start with something as simple as this: >>> >>> [text show=f]starttime=11:00:05[/text] >>> [text show=f]endtime=[TIME format=%H:%M:%S][/text] >>> [text show=f]wastedtime=[math > time]{[endtime]}-{[starttime]}[/math][/text] >>> Time spent: [wastedtime] >>> >>> Where [starttime] and [endtime] could be variables based on user input. >>> Make sure that the server is set to return time in 24 hour format or >>> manually override it with the format as above. And add in [date] if the >>> time is spanning a number of days. >>> >>> GK >>> >>> >>> >>>> does anyone have a calculation for taking a start time and end time to >>>> figure out what the total amount of time it. for instance. >>>> >>>> 11:00am - 12:30pm = 1.5 hours >>> > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: Calculating times in a different zone ... (Kenneth Grome 2003)
  2. Re: Calculating times in a different zone ... (Michael Davis 2003)
  3. Calculating times in a different zone ... (Kenneth Grome 2003)
  4. Re: calculating time (Jesse Williams-Proudman 2002)
  5. Re: calculating time (catalogs 2002)
  6. Re: calculating time (Jesse Williams-Proudman 2002)
  7. Re: calculating time (catalogs 2002)
  8. Re: calculating time (Gary Krockover 2002)
  9. Re: calculating time (catalogs 2002)
  10. Re: calculating time (Gary Krockover 2002)
  11. calculating time (catalogs 2002)
Thanks for the info it worked great. I am using a modified version of web builder, do you have any suggestions how I can implement a cart number verification, It would renumber a persons cart while they are browsing the store if an order had been placed and is already written to the orders.db I though I could do this in the invoice.tpl or thanks.tpl page when the order is being written that way it only has to verify the number once at the end of the session. I am having this problem with dual cart numbers because prople are bookmarking pages with a cart number in the address.Any ideas how I can go about verifying the cart number to the orders.db and if one is in existance it will convert the number without loosing the cart info?bob> From: Gary Krockover > Reply-To: (WebCatalog Talk) > Date: Wed, 25 Dec 2002 09:42:40 -0600 > To: (WebCatalog Talk) > Subject: Re: calculating time > > I was waiting for the kids to finally go to bed so that Santa could make > his appearance :) > > GK > > >> wow! i was not expecting a response so soon. Christmas is still going on, > I >> just could not stop thinking about this problem that I was having and >> obviously I am a workaholic. (so what's your excuse) Thanks so much. >> >>> From: Gary Krockover >>> Reply-To: (WebCatalog Talk) >>> Date: Wed, 25 Dec 2002 00:19:35 -0600 >>> To: (WebCatalog Talk) >>> Subject: Re: calculating time >>> >>> What, working on Christmas Eve? Or is Christmas over where ever you're > at? >>> :) >>> >>> You could start with something as simple as this: >>> >>> [text show=f]starttime=11:00:05[/text] >>> [text show=f]endtime=[TIME format=%H:%M:%S][/text] >>> [text show=f]wastedtime=[math > time]{[endtime]}-{[starttime]}[/math][/text] >>> Time spent: [wastedtime] >>> >>> Where [starttime] and [endtime] could be variables based on user input. >>> Make sure that the server is set to return time in 24 hour format or >>> manually override it with the format as above. And add in [date] if the >>> time is spanning a number of days. >>> >>> GK >>> >>> >>> >>>> does anyone have a calculation for taking a start time and end time to >>>> figure out what the total amount of time it. for instance. >>>> >>>> 11:00am - 12:30pm = 1.5 hours >>> > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ catalogs

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:

Make sure I understand this??? (1997) Cancel Subscription (1996) [WebDNA] Store (2010) Just Testing (1997) Big Databases (1997) textarea to page display (1998) Running 2 two WebCatalog.acgi's (1996) Digest Version (2000) MacAuthorize hub, no modal password dialog? (1997) Paths (2000) WebCatalog NT beta 18 now available (1997) Nested Loops and SHOWIFs (1997) Help with database strategy (1998) WebCat2: Master Counter snippet (1997) For Grant: Webcatalog 4.0 - When will we be able to beta testit? (2000) [REPLACE] inside [FOUNDITEMS] (1998) problems with 2 tags (1997) Emailer [cart] file names (1997) [cart] clarification... (1997) Single Link browsing (1997)