thenuse the CF datediff to compare the date to the start and end dates On 6/26/05, Jake McKee <[EMAIL PROTECTED]> wrote: > Oh, sorry - this would be just basic CF code validation. A user is > submitting a form with a start and end dates, and I'm checking against > hardcoded season date ranges. > > Thanks! > Jake > > Clint Tredway wrote: > > >Depending on the type of database, you can use datediff and datepart > >to check dates.. it just depends. > > > >On 6/26/05, Jake McKee <[EMAIL PROTECTED]> wrote: > > > > > >>Help! I'm in date hell... > >> > >>I'm writing a small app to check dates of reservations. Pricing is > >>different depending on season. So Jan1-Apr30 is one price, May1-Jul30 is > >>a second price, etc. > >> > >>I'm trying to check the reservation dates (reservation = the time > >>between check in and check out) to see where they fall in those seasons. > >>Any idea how to do that in CF? > >> > >>Thanks!! > >>Jake > >> > >>---------------------------------------------------------- > >>To post, send email to [email protected] > >>To unsubscribe: > >> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > >>To subscribe: > >> http://www.dfwcfug.org/form_MemberRegistration.cfm > >> > >> > >> > >> > >> > > > > > > > > > > ---------------------------------------------------------- > To post, send email to [email protected] > To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > >
-- Are you diabetic? http://www.diabetesforums.com ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
