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:

MacWEEK article help needed (1996) Week # problem (1998) When to use [convertchars] ?!?!? (2000) WebCatalog can't find database (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) select multiple (1997) WebCat2 - Getting to the browser's username/password data (1997) More on ShippingCost help needed (1998) New One (for me).... Error type 12 (1999) FlushDatabase Suggestion (1998) form data submission gets truncated (1997) Listserver problem (1997) Getting total number of items ordered (1997) NT or Mac (1997) RE: Adding a product from another site (1997) Odd [math] behaviour (2003) Sku numbers (1997) Frames and WebCat (1997) [WebDNA] Problem with [ListDatabases] - WebDNA CE 6.0a - Windows IIS 5.1 - Windows XP Pro Dev Box (2008) form data submission get (1997)