Re: [WebDNA] Quick Date Question
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101536
interpreted = N
texte = Steve, drop this in and see how it goes.I always have too much on my plate too, but it is fun to make offerings when I can :-)-Govinda------------------------------------------[math show=F]nStartOfYear=[math]{01/01/[DATE format=%Y]}[/math][/math][loop start=0&end=6&advance=1][math show=F]nIsItMonday=[nStartOfYear]+[index][/math][showif [URL][Format Days_To_Date %a][nIsItMonday][/format][/URL]=mon][math show=F]nFirstMon=[nIsItMonday][/math][/showif][/loop][loop start=0&end=365&advance=7][math show=F]nDate2Show=[nFirstMon]+[index][/math]
Week [Format Days_To_Date %U][nDate2Show][/format] - [Format Days_To_Date %m/%d/%Y][nDate2Show][/format][/loop]------------------------------------------On Nov 28, 2008, at 4:44 AM, Steve Craig wrote:> Hi>> I'm suffering from having to many different things to do today and > I'm struggling with what I think should be an easy thing, can > someone help?>> I need a bit if code that will give me a list of week numbers (1-52) > in the current year, with the date of the Monday of each week ie...>> Week 1 - dd/mm/yyyy> Week 2 - dd/mm/yyyy> ...> ...> ...> Week 52 - dd/mm/yyyy>> Can anyone help with any pointers please.>> Cheers> ========================================> Steve Craig - Asylum Interactive Ltd> Tel +44 1330 860550 Fax +44 1330 860880> ========================================> http://www.asylumweb.com> Email: steve@asylumweb.com> Skype: s.craig - iChat: steve.craig> ========================================>>>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Steve, drop this in and see how it goes.I always have too much on my plate too, but it is fun to make offerings when I can :-)-Govinda------------------------------------------[math show=F]nStartOfYear=[math]{01/01/[DATE format=%Y]}[/math][/math][loop start=0&end=6&advance=1][math show=F]nIsItMonday=[nStartOfYear]+[index][/math][showif [url][Format Days_To_Date %a][nIsItMonday][/format][/URL]=mon][math show=F]nFirstMon=[nIsItMonday][/math][/showif][/loop][loop start=0&end=365&advance=7][math show=F]nDate2Show=[nFirstMon]+[index][/math]
Week [Format Days_To_Date %U][nDate2Show][/format] - [Format Days_To_Date %m/%d/%Y][nDate2Show][/format][/loop]------------------------------------------On Nov 28, 2008, at 4:44 AM, Steve Craig wrote:> Hi>> I'm suffering from having to many different things to do today and > I'm struggling with what I think should be an easy thing, can > someone help?>> I need a bit if code that will give me a list of week numbers (1-52) > in the current year, with the date of the Monday of each week ie...>> Week 1 - dd/mm/yyyy> Week 2 - dd/mm/yyyy> ...> ...> ...> Week 52 - dd/mm/yyyy>> Can anyone help with any pointers please.>> Cheers> ========================================> Steve Craig - Asylum Interactive Ltd> Tel +44 1330 860550 Fax +44 1330 860880> ========================================> http://www.asylumweb.com> Email: steve@asylumweb.com> Skype: s.craig - iChat: steve.craig> ========================================>>>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Govinda
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:
[INCLUDE] Limitations-Now I see (1998)
Calculating multiple shipping... (1997)
Installer needed (2004)
[WebDNA] MD5 Hash issue (2009)
Email Attachments (1998)
Sorry But This seems to be my fate (2000)
Giving out error pages (1997)
[WebDNA] Is [math] on a number with too many digits the only (2011)
Scoping rules in WebDNA 4.0 (2000)
[WebDNA] WebDNA move issue (2011)
Add all products to cart at once? (1997)
Template not completely processed (1998)
E-mail Attachments (1997)
Variables for chat (1997)
WebCatalog can't find database (1997)
test (2004)
Artwork (1997)
Country & Ship-to address & other fields ? (1997)
Checkbox question (1997)
Bug Report, maybe (1997)