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 namethat being said setting the variable [text]date=...[/text] will not overight the actual [date...] contextso 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,MarkoOn 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 givendate?. 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 SmithLimón Creativo Internet y Multimediosctapia@lemongroup.clhttp://www.lemongroup.clFono: 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:
[date...] is a defined context... and you cannot set it as a variable namethat being said setting the variable [text]date=...[/text] will not overight the actual [date...] contextso 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,MarkoOn 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 givendate?. 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 SmithLimón Creativo Internet y Multimediosctapia@lemongroup.clhttp://www.lemongroup.clFono: 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)