I trying to calculate the days between two dates. And i trying to use the format: 09.27.2008 , how would i do to see if it have paste lets say 4 days, and also when it have changed month. and it's 10.01.2008. i cant figure out how to match the months and days, //echo -a -> $gettok(09.27.2008,2,46) return the day.