>Hello all. I am wondering if there is a zip tool that I could call from vfp out there for download. Class preferred.
>
There have been a number of articles on zip file access from VFP; Doug Hennig covered WinZip in an article, and there were several on DynaZip, a third-party ActiveX control that works well with VFP; the developer licensing for it is very reasonable (~ $300 to allow you unlimited distribution with your apps; WinZip is shareware, licensing is $80/user). There are several freeware products available; I've never used them.
>Also was wondering if anyone had any good tips on time manipualtion. I have to calculate duration given the start and end time in nn:nn.nn format. (24 hour format as well.)
>
Use datetime data types; the difference between two datetimes is a duration in seconds; you can convert that back to a string easily by adding the duration onto a datetime set at midnight via TTOC():
nDuration = EVAL('{^2000-01-01,'+cTimeStr+'}') - {^2000-01-01,0:0:0}
* nDuration is time in seconds
* Given two datetimes, a start and end
nDuration = tDateTimeEnd - tDateTimeStart
cHMSofDuration = TTOC(DTOT(DATE())+nDuration,2)