<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I asked a question a few days ago whether or not 
anybody has made an object which provides "DateDiff" functionality. I realize 
that DateDiff is a Visual Basic function....so I'm back to this list asking 
whether anybody has made an object which provides "difftime" 
functionality.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>"difftime()" is a C++ function which serves a 
similar purpose.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>What I'd like to do is compare two dates (via the 
zexy [date] and [time] objects) and return the number of seconds or milliseconds 
between those dates.&nbsp; For example, difftime("12/10/1999 10:20:21 
AM","12/10/2003 10:32:21 AM") = ? seconds</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>I have limited experience with writing and compiling C++, and no experience 
writing PD externals.&nbsp; I'd appreciate any help I can get.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Many thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave Sabine</FONT></DIV></BODY></HTML>