Re: Day of the week
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67043
interpreted = N
texte = [date %A] will give you the name of the dayDon't use date as a text variable, it is a reserved word[TEXT]WhatDay=3D06/05/2006[/TEXT][Format days_to_date %A][Math]{[WhatDay]}[/Math][/Format]Stuart Tremainidfk web developments, sydney, australiaOn 05 May 2006, at 9:33 AM, Cristi=E1n Tapia wrote:> Hi,>> Is there any way to know which day of the week was or will be any =20> given> date?. I would like to do something like this:>> [text]date=3D06/02/2006[/text]> [date %W]>>> I've tried:>> [text]date=3D06/05/2006[/text]> [interpret][[date] %w][/interpret]>> And many others with no results (I usually get [06/05/2006 %W]).>> Thanks in advance.> ---------------------------------------------------> Cristi=E1n Tapia Smith> Lim=F3n Creativo Internet y Multimedios> ctapia@lemongroup.cl> http://www.lemongroup.cl> Fono: 562-3468600>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
[date %A] will give you the name of the dayDon't use date as a text variable, it is a reserved word[text]WhatDay=3D06/05/2006[/TEXT][Format days_to_date %A][math]{[WhatDay]}[/Math][/Format]Stuart Tremainidfk web developments, sydney, australiaOn 05 May 2006, at 9:33 AM, Cristi=E1n Tapia wrote:> Hi,>> Is there any way to know which day of the week was or will be any =20> given> date?. I would like to do something like this:>> [text]date=3D06/02/2006[/text]> [date %W]>>> I've tried:>> [text]date=3D06/05/2006[/text]> [interpret][[date] %w][/interpret]>> And many others with no results (I usually get [06/05/2006 %W]).>> Thanks in advance.> ---------------------------------------------------> Cristi=E1n Tapia Smith> Lim=F3n Creativo Internet y Multimedios> ctapia@lemongroup.cl> http://www.lemongroup.cl> Fono: 562-3468600>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.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://webdna.smithmicro.com/
Stuart Tremain
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:
Summing fields (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
WebCatalog for Postcards ? (1997)
Fun with Dates - revisited (1997)
Dates (1998)
RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998)
Re:Add (1998)
Hard Questions ? (1997)
Banners and sort of random display (1997)
RE: protect tag not working (1998)
database problem (2003)
Quickie question on the email templates (1997)
WebCatalog 3.0.8 serial problem on MacOS (2000)
[template] tag (1998)
redirect with more than 256 characters (1999)
Problems getting parameters passed into email. (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Next (1997)
[WebDNA] Triggers Failing (2008)
[WebDNA] Small Parsing Problem (2009)