I suppose it would be possible to get the current date and time and then do a string comparison or other string manipulation. You'd have to do a bit of trickery to figure out if the difference was more than 20 minutes. nDate := GetCurrentDate(); nTime := GetCurrentTime(); FormatDateTime(nDate, nTime, "%x %X", sDateTime); Take sDateTime and make sure the date is equal, then maybe a "Substr" function to grab the time and compare it to the 10:02:11 time. In any case it seems like a string manipulation problem to me! Tony
↧