Greetings,
Part of a project I'm working on has two editable field members for the user to enter 
dates into.  The first is for a start date, and the second, an end date.  The date 
format looks like this: <Start Date> "04/18/2001", <End Date> "05/24/2001".   I've 
written a custom handler that will take the start date and round it back to the 
previous Sunday, and will set the end date to the following Saturday.  So after I run 
my handler, the dates above get changed to: <Start Date> "04/15/2001", <End Date> 
"05/26/2001".  This way we can deal with entire weeks for planning promotional events. 
 My questions is: After I run my handler, how can I determine the number of weeks for 
any event?  I've tried subtracting the start date from the end date, but I rarely end 
up with whole weeks, yet on the calendar, it's an even six weeks.  Can anyone suggest 
a more intelligent approach?

Thanx in advance,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to