Without a timer chip? I guess not. The example by skimask is based on the watchdog of the PIC, which is innacurate by itself very much (look at 5.77 of the manual).
Another option might be the elapsed timer by Darrel Taylors Instant Interrupts. But, maybe too complicated for what you want.
Ioannis




Bookmarks