Re: finding the next thursday
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29903
interpreted = N
texte = Charles,I was inspired too... would something like this do it?[showif [date %w]=4][math date]{[date]}+7[/math][/showif][showif [date %w]<4][math date]{[date]}+(4-[date %w])[/math][/showif][showif [date %w]>4][math date]{[date]}-([date %w]-4)+7[/math][/showif]Jason SofoniaDigital Frontier | jason@digitalfrontier.comon 04.03.00 12:27 pm, Charles Kline at ckline@highfire.com wrote:> Nevermind. Figured it out. I love this list for inspiring me in some> weird way to solve my own problems =)> > >> here is a fun one that i could use some extra brain power on.>> >> I am trying to figure out a way to determine the date of the next>> Thurday from the current date. Is this something anyone has figured>> out?>> >> Here is the situation. When an item is posted to the database, I need>> to save the date of the next Thursday along with it. This is because>> the listing needs to expire and be removed automatically when the>> next Thursday passes.>> >> Thanks for any help.>> Charles>> >> ------------------------------------------------------------->> 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>> > > > -------------------------------------------------------------> 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> -------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
Charles,I was inspired too... would something like this do it?[showif [date %w]=4][math date]{[date]}+7[/math][/showif][showif [date %w]<4][math date]{[date]}+(4-[date %w])[/math][/showif][showif [date %w]>4][math date]{[date]}-([date %w]-4)+7[/math][/showif]Jason SofoniaDigital Frontier | jason@digitalfrontier.comon 04.03.00 12:27 pm, Charles Kline at ckline@highfire.com wrote:> Nevermind. Figured it out. I love this list for inspiring me in some> weird way to solve my own problems =)> > >> here is a fun one that i could use some extra brain power on.>> >> I am trying to figure out a way to determine the date of the next>> Thurday from the current date. Is this something anyone has figured>> out?>> >> Here is the situation. When an item is posted to the database, I need>> to save the date of the next Thursday along with it. This is because>> the listing needs to expire and be removed automatically when the>> next Thursday passes.>> >> Thanks for any help.>> Charles>> >> ------------------------------------------------------------->> 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>> > > > -------------------------------------------------------------> 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> -------------------------------------------------------------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
Jason Sofonia
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:
WYSIWYG HTML editor for use in browser (2001)
emailer error type 103 (1997)
multi-paragraph fields (1997)
Encryption Level (2003)
WebCatalog for Postcards ? (1997)
Download URL & access on the fly ? (1997)
Snake Bites (1997)
CORR: date format (2000)
greater than or equal to (1997)
Items XX to XX shown (1997)
Add more fields to an existent data base (1997)
ShowNext (1997)
hideif [x]=1,2,3.. (2003)
LetterRip and WebCat & more (1998)
Forms Search Questions (1997)
[SearchString] problem with [search] context (1997)
4.0 Plugin under Webten (2000)
Feedback Please (2003)
[WebDNA] WebDNA Alive! (2012)
Associative lookup style? (1997)