May 5, 200619 yr Newbies i have a db that i'd like to search by date but i dont want an edit box in which the user freely enters a date. i want the date seach field to be 3 radio buttons. the values would be a)search the last month b)search the last 2 months and 3)search the last year i'm using fmxslt:get_date() and trying to manipulate the date so it reflects the 3 choices. is there a way i can manipulate the date i get with fmxslt:get_date() to do what i want? does anybody have any other ideas on how i can do this? thanks
May 5, 200619 yr Yes, there is a way. Here an example to calculate a date for say, 30 days ago: You may figure out from the CWP guide, pp. 72-74 how the other calculations may work. Edited May 5, 200619 yr by Guest
May 5, 200619 yr Author Newbies nice!!! thanks so much!!! i'm new to xsl templates. your code was the small tutorial i've been looking for. i may have more questions about this as i keep working on it again...thanks so much
Create an account or sign in to comment