Re: week # as date

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 40363
interpreted = N
texte = Oooh, fun! Math games!Try this, and tweak to fit as necessary...[math show=F]weeknumber=5[/math] [math show=F]DayInWeek=[weeknumber]*7+{01/01/[date %Y]}[/math] [math show=F]DayOfWeek=[format days_to_date %w][DayInWeek][/format][/math] [math show=F]Sunday=[DayInWeek]-[DayOfWeek][/math] [math show=F]Saturday=[DayInWeek]-[DayOfWeek]+6[/math]Sunday starting week [weeknumber] is [format days_to_date][Sunday][/format]
Saturday ending week [weeknumber] is [format days_to_date][Saturday][/format]
BrianAt 11:11 AM 11/27/2001, Jimmi Kristensen wrote: >Is there a way to change a week number to a date?? > >I get a week number, say 47, and need to get a start and end date for that >week. Is this at all possible??? > >---------------------- > Jimmi Kristensen > WebDNA Developer > jimmi@euroteam.com > http://euroteam.com >---------------------- -- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: week # as date (Brian Fries 2001)
  2. week # as date (Jimmi Kristensen 2001)
Oooh, fun! Math games!Try this, and tweak to fit as necessary...[math show=F]weeknumber=5[/math] [math show=F]DayInWeek=[weeknumber]*7+{01/01/[date %Y]}[/math] [math show=F]DayOfWeek=[format days_to_date %w][DayInWeek][/format][/math] [math show=F]Sunday=[DayInWeek]-[DayOfWeek][/math] [math show=F]Saturday=[DayInWeek]-[DayOfWeek]+6[/math]Sunday starting week [weeknumber] is [format days_to_date][Sunday][/format]
Saturday ending week [weeknumber] is [format days_to_date][Saturday][/format]
BrianAt 11:11 AM 11/27/2001, Jimmi Kristensen wrote: >Is there a way to change a week number to a date?? > >I get a week number, say 47, and need to get a start and end date for that >week. Is this at all possible??? > >---------------------- > Jimmi Kristensen > WebDNA Developer > jimmi@euroteam.com > http://euroteam.com >---------------------- -- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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://search.smithmicro.com/ Brian Fries

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:

View order not right (1997) Weird Math and SV (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) maybe even an easier plan to satisfy need for solid tech (2000) Hiding URL ? (1998) [SearchString] problem with [search] context (1997) Redirect (2003) help on brickwalls (2003) Re2: Calculating multiple shipping... (1997) [WebDNA] Emailer & SMTP (2009) appending to my last post (1999) Can I invoke an ssi plugin from within a webcat page (1997) Re:What file? (1997) [OT] Google Info (2004) [WebDNA] Processor Maxing out (2010) Buying sans cart (1997) [WebDNA] [BULK] Web Merchant Authorize net issues (2011) wierd... [Was] User Authentication (2003) Ok, I'm stumped (1998) Carrying Forward (1998)