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:

I need a Smart-quote workaround (1999) [include ...] behavior (1997) Possible Bug in 2.0b15.acgi (1997) [WebDNA] MacOS 10.5 instal/config. I'm drowning. ...just needs to work for LOCAL one person (2008) Silly Question (1997) dollar $ signs in database (2000) Me know logical no need Now totally OT (2002) default value from Lookup (was Grant, please help me) (1997) flushdatabases (2000) Multi-Row Tables from a search. (1997) OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998) Signal Raised (1997) Enhancement Request for WebCatalog-NT (1996) IE-caching (1998) RE: creating writefile data from a nested search (1997) Stop! Stop! Stop! (2004) C is for cookie - that's good enough for me... (2001) serial number generation (1997) WebCat2 Append problem (B14Macacgi) (1997) suffix mapping for NT? (1997)