| Subject: | Re: How do I work with dates from URL and POST? |
|---|---|
| From: | Ian Skinner <iskinner@xxxxxxxxxxx> |
| Date: | Thu, 31 Jul 2008 12:46:21 -0700 |
| Newsgroups: | macromedia.coldfusion.cfml_general_discussion |
RichieWhite wrote: When I pass the same date from an <A> tag and a form <input> tag, the results are different. They look the same, but the URL variable isn't in the same format when you use the result in a calculation.See http://www.fishingguidenow.com/datetest.cfmPlease help me find a way to consistently calculate the results whether they come from a form or a URL. I don't see a problem with the date values you are receiving from the post and get data. I note that you are adding one *month* to the received date to get 'tomorrow'. That seems to be a bit more then tomorrow to me, but otherwise it is working as coded. The url example is missing <cfoutput> tags so the output is not rendered for the value of the function, but I presume it will work the same as the form test. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How do I work with dates from URL and POST?, RichieWhite |
|---|---|
| Next by Date: | Re: Novice need helps with variable defaults, fishidaho |
| Previous by Thread: | How do I work with dates from URL and POST?, RichieWhite |
| Next by Thread: | Re: How do I work with dates from URL and POST?, Ian Skinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |