Re: WebDNA Trouble...

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24878
interpreted = N
texte = Jimmi Kristensen @ jimmi@webclub.dk wrote:> i need some info.... > > I am doing a project administration system, and i want to be able to calculate > the end date of a project... > > The user gives a startdate and the length of the project in weeks. > Now the problem is that i have to check in another DB to see if there is any > vacation periodes, if this is the case the length of the project will be one > week longer... > > A vacation is ALWAYS one week long...I might add that the DB for the vacation > contains a startdate for the period in the form: mm/dd/yyyy > > So who do i calculate the end-date.....please help...1. Store all dates as numbers in your db's.2. Do a search in your first database when the date is over.3. Then do a search in the SAME template to look if there is a vacation.4. if a vacation is there, then add another week to your first database with [replace]Hope this helps.Sincerely, Nitai -- Hard & Software, DVD Center, E-Commerce Solutions, WebDesign Mactrade - http://mactrade.ch/EMail: Info@mactrade.ch Tel: +41 (0)52 / 654 15 55, Fax: +41 (0)52 / 654 15 59------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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:

    
  1. Re: WebDNA Trouble... (Nitai 1999)
  2. Re: WebDNA Trouble... (Kenneth Grome 1999)
  3. WebDNA Trouble... (Jimmi Kristensen 1999)
Jimmi Kristensen @ jimmi@webclub.dk wrote:> i need some info.... > > I am doing a project administration system, and i want to be able to calculate > the end date of a project... > > The user gives a startdate and the length of the project in weeks. > Now the problem is that i have to check in another DB to see if there is any > vacation periodes, if this is the case the length of the project will be one > week longer... > > A vacation is ALWAYS one week long...I might add that the DB for the vacation > contains a startdate for the period in the form: mm/dd/yyyy > > So who do i calculate the end-date.....please help...1. Store all dates as numbers in your db's.2. Do a search in your first database when the date is over.3. Then do a search in the SAME template to look if there is a vacation.4. if a vacation is there, then add another week to your first database with [replace]Hope this helps.Sincerely, Nitai -- Hard & Software, DVD Center, E-Commerce Solutions, WebDesign Mactrade - http://mactrade.ch/EMail: Info@mactrade.ch Tel: +41 (0)52 / 654 15 55, Fax: +41 (0)52 / 654 15 59------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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 Nitai

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:

listfiles, moving files (1998) WC on Mac OS X or Mac OS X Server 2.x (2001) [WebDNA] [OT] BBEdit Glossary (2012) Force a search at the default.tmpl page? (1997) Bulk Linebreak Changes (2002) Shared conversion under WebTen (1998) Password and Allow commands (1998) More questions about serial number dishing (1997) authorizenet and netscape (2002) Price override (2004) [LINEITEMS] (2000) [WebDNA] List Files question (2009) [isfile] ? (1997) [group] ? (1997) Parameter Passing Value (2002) [WebDNA] Problem with Sendmail (2012) errors 550, and 108 (1998) Possible Bug in 2.0b15.acgi (1997) WebCat2.0b15-to many nested [xx] tags (1997) WebCat2: multiple currency support (1997)