I have a file that looks something like this.

IPAQ02925=,djames,Daniel James,00D0B7B4C292,8/3/2001,5:32:10
CCARTER=,ccarter,Candy Carter,00508BF5B653,8/2/2001,7:40:18
MULTIRMB113=,rgeske,Robert Geske,000347167CFC,8/1/2001,6:37:28
SFF02987=,kplatt,Ken Platt,0002A575E788,8/2/2001,7:03:03
MIKESTA=,robertm,Robert Mullinax,00D0B7AB20EE,8/3/2001,6:40:57
SFF03214=,kmitchell,Kathryn Mitchell,0002A51D7BB8,8/3/2001,6:38:37

I need to find a way to parse this file for the Computer name (Being the first entry of each line(without the =)) and the Date (being the second to last entry of every line) and calculate the date of the machines last logon compared to todays date. Can anyone help send me in the right direction.

Thanks