Re: Week # problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17576
interpreted = N
texte = It probably starts at zero (i.e. the first week of the year is week 0, the second week is week 1, etc). This is how lists and arrays are numbered in most programming languages. Note that WebCat also numbers days of the week 0-6...-Dave At 10:08 AM 5/8/98, Christer Olsson wrote: >What week do you have in the USA now? In Sweden we have week 19, but if I use > >[DATE %U] - Week # of year (Sunday is first day of first week) > >or > >[DATE %W] - Week # of year (Monday is first day of first week) > >they both show 18 > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Art director S-211 37 Malmoe Fax +46 40 97 99 77 > Ljusa Ideer AB Sweden http://www.ljusaideer.se o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: Week # problem (Peter Ostry 1998)
  2. Re: Week # problem (Dave MacLeay 1998)
  3. Week # problem (Christer Olsson 1998)
It probably starts at zero (i.e. the first week of the year is week 0, the second week is week 1, etc). This is how lists and arrays are numbered in most programming languages. Note that WebCat also numbers days of the week 0-6...-Dave At 10:08 AM 5/8/98, Christer Olsson wrote: >What week do you have in the USA now? In Sweden we have week 19, but if I use > >[DATE %U] - Week # of year (Sunday is first day of first week) > >or > >[DATE %W] - Week # of year (Monday is first day of first week) > >they both show 18 > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Art director S-211 37 Malmoe Fax +46 40 97 99 77 > Ljusa Ideer AB Sweden http://www.ljusaideer.se o--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

The Form authentication trick (2000) Admin Edit prob. (1997) Google Web Accelerator (2005) Reversed words (1997) WebMerchant 1.6 and https (1997) [WebDNA] SweepCartFrequency (2010) TeaRoom Order fields email account remain empty even thoughthewy are filled. (1997) Cookie Issue - No domain (2004) Nested tags count question (1997) Ampersand (1997) Other then credit cards-how? (1997) Extended [ConvertChars] (1997) Yet another db manager (2004) [cart] clarification... (1997) Editing the search string (1997) [WebDNA] Problems with WebCatalogCtl command (2009) Alex's detailed WebMerchant questions (1998) formulas.db ?? (1998) [WebDNA] PayPal Integration (2017) [WebDNA] email stops sending (2008)