Re: Day of the week

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67044
interpreted = N
texte = [date...] is a defined context... and you cannot set it as a variable name that being said setting the variable [text]date=...[/text] will not overight the actual [date...] context so you will only be ever seeing todays date! when trying your [date %w] you will need to use [math] with [date] to add/subtract date values from the current date. You might even need to use [format...] -- Regards, Marko On Friday, 5 May 2006 9:33 AM, ctapia@lemongroup.cl wrote: Hi, Is there any way to know which day of the week was or will be any given date?. I would like to do something like this: [text]date=06/02/2006[/text] [date %W] I've tried: [text]date=06/05/2006[/text] [interpret][[date] %w][/interpret] And many others with no results (I usually get [06/05/2006 %W]). Thanks in advance. --------------------------------------------------- Cristián Tapia Smith Limón 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 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:

    
  1. Re: Day of the week ( Marko Bernyk 2006)
  2. Re: Day of the week ( Stuart Tremain 2006)
  3. Re: Day of the week ( "Bess Ho" 2006)
  4. Day of the week ( ctapia@lemongroup.cl (=?ISO-8859-1?Q?Cristi=E1n?= Tapia) 2006)
[date...] is a defined context... and you cannot set it as a variable name that being said setting the variable [text]date=...[/text] will not overight the actual [date...] context so you will only be ever seeing todays date! when trying your [date %w] you will need to use [math] with [date] to add/subtract date values from the current date. You might even need to use [format...] -- Regards, Marko On Friday, 5 May 2006 9:33 AM, ctapia@lemongroup.cl wrote: Hi, Is there any way to know which day of the week was or will be any given date?. I would like to do something like this: [text]date=06/02/2006[/text] [date %W] I've tried: [text]date=06/05/2006[/text] [interpret][[date] %w][/interpret] And many others with no results (I usually get [06/05/2006 %W]). Thanks in advance. --------------------------------------------------- Cristián Tapia Smith Limón 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 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/ Marko Bernyk

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:

CommandSecurity? (1997) Feature request (1998) Problems getting parameters passed into email. (1997) Some Advise needed (1997) remotely add + sign (1997) Fwd: Problems with Webcatalog Plug-in (1997) Users.db permissions (2003) [FoundItems] solved - thanks (1997) View order not right (1997) Mac: [ListFiles] bug alert (1997) [SHOWIF]s and empty arguments (1997) Multiple prices (1997) Date field search needs ... (1998) Cold Fusion Buster (1997) WebCatalog/Mac 2.1b2 New Features (1997) WebCat2 - storing unformatted date data? (1997) NT or Mac (1997) different ship dates and shopping carts -- how to? (1997) WebCat2 - Getting to the browser's username/password data (1997) LetterRip and WebCat & more (1998)