macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: How do I work with dates from URL and POST?

Subject: Re: How do I work with dates from URL and POST?
From: Ian Skinner <iskinner@xxxxxxxxxxx>
Date: Thu, 31 Jul 2008 13:04:35 -0700
Newsgroups: macromedia.coldfusion.cfml_general_discussion


A second point to realize is that any data you get from a form, either with get or post, is string data - *NOT* a date object. It may look like a date to us humans. Many of ColdFusion's functions will do their best to convert the string into a date.

But you are leaving a lot to chance if you are not converting specific strings to specific dates. Just remember that "2/10/08" is February tenth 2008 to some, the second of October 2008 to others and maybe February tenth or October second, 1908 to a few archaic types.




<Prev in Thread] Current Thread [Next in Thread>