Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Coyu] Global with four saturday-dates

Quote Reply
Re: [Coyu] Global with four saturday-dates In reply to
What about this (these functions are from memory so they may need looking up):

<%set today=GT::Date::date_transform($date,'%yyyy%-%mm%-%dd%','%dddd%')%>
<%if today eq "Saturday"%><%set date1 = GT::Date::date_add($date,7)%>
<%elsif today eq "Friday"%><%set date1 = GT::Date::date_add($date,1)%>
...
<%endif%>
<%set date2=GT::Date::date_add($date1,7)%>
<%set date3=GT::Date::date_add($date1,14)%>
<%set date4=GT::Date::date_add($date1,21)%>
Subject Author Views Date
Thread Global with four saturday-dates Coyu 2003 Mar 31, 2004, 11:58 PM
Post Re: [Coyu] Global with four saturday-dates
pugdog 1897 Apr 1, 2004, 6:20 AM
Thread Re: [Coyu] Global with four saturday-dates
afinlr 1894 Apr 1, 2004, 7:29 AM
Thread Re: [afinlr] Global with four saturday-dates
pugdog 1886 Apr 1, 2004, 3:50 PM
Thread Re: [pugdog] Global with four saturday-dates
pugdog 1870 Apr 2, 2004, 4:54 AM
Post Re: [pugdog] Global with four saturday-dates
pugdog 1868 Apr 2, 2004, 5:12 AM