Hi Greg,
Create your time expressions and substract the two DateTimes to get the seconds. If tField is your datetime field then something like...
lnSeconds = tField - CTOT(DTOC(TTOD(tField)) + " " + YourTimeVariable)
>I need some help I have a field that is a Datetime field and I need to subtract just time from it the time that I'm subtracting is in a string what is the best way to attack this problem
>
>
>Thanks
>
>Greg