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:

New public beta available (1997) back one? (2000) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) WebCat2 several catalogs? (1997) Clean Code: Rules for inserting keyboard returns? (1997) Error Msg (1997) WebDNA maxing out processor (2008) Virtual hosting and webcatNT (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Image upload (2000) PIXO support (1997) Coding Style (2000) WebDNA deletes major DB data big time (2004) syntax question, not in online refernce (1997) WC2.0 Memory Requirements (1997) [group] ? (1997) Lost Field (1998) Customer (1998) autocommit problem (1998) Creating folders and deleting files (1997)