You should be able to use the PULSIN command to measure the length of the pulses, but we will need more info to give further help.
I assume you have an IR receiver hooked up to one of your I/O pins?
Is the IR signal coming from a remote control? If so, what is the remote for, and what brand is it? Do you know the encoding scheme its using?
Bookmarks