On Tue, Sep 2, 2008 at 11:29 AM, Laurie Smith <[EMAIL PROTECTED]>wrote:
> > I have 3 drop-down boxes for: > > Years > > Months > > Days > > > > I need to combine the values for all 3 and convert to days so I can > > use the total number of days with DateDiff...Any suggestions would be > > greatly appreciated. Thanks > > I should have clarified that I am not passing a date such as mm/dd/yyyy. > The year dropdown contains the values 1-5 that the user can select, the > month is 1-11, and the days are 1-30. What I am trying to do is for example, > when if a user selects 2 years 2 months 2 days then I need to convert those > values to days. > but... but... some months have a different number of days than others :) if that's your desired result, you'll really need to capture a start date (and an end date) -- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311922 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

