I have 2 timestamps in the db, we can call them starttime and endtime for now. Has anyone ever wrote a down and dirty calculation that doesn't include weekend days (i.e saturady and sunday? Holidays? I would settle for just a weekend day omit for now. I have been farting around with this and ended up with a bunch of code, but I was hoping for something more elegant. In other words, I am trying to return the total time between the 2 dates and the average time between the two dates for the total return. I started by writing direct db actions to the db but it is pretty daunting for me. Going from datetosecs is relatively easy to figuring this out. Trying to omit Saturaday and Sunday gets a bit more complex, especially if you are dealing with hundreds of returns.
Witango 2000 for now... no Robert, I don't have the new servers up and running yet. Hopefully soon! ;-) WebDude ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
