PDA

View Full Version : Result for month (s) ago


ngaisteve1
10-24-2003, 11:23 PM
I don't know where to post this, server-side or client-side but the question is let's say I have a combo box with value one month, two month and three month. When the user select one month, it means that the user want to see all results a month ago. Eg, if today is 25-Oct. When he selects one month, then all result from 25-Sep to 25-Oct. For now, just forget about the special case like Feb or any special case first. Which date function is best apply for this case?

Thank you for all contribution.

jaeman
10-25-2003, 12:03 AM
I'm a bit unsure about your q?, Do you have a script already doing this that needs modifying or are you asking for some help writing a script, I think it can be done with java-script but you will probably need it done with PHP or Perl, See what some others say, Glad to help you if i'm able... jaeman;)

agent002
10-25-2003, 06:26 AM
Sounds quite serverside to me.