Okay stupid question about taxes.

Lets say that i 'sold' $1000 worth of product in 2008 but the money didnt actually arrive until this week for those sales, am i supposed to be showing that as earnings for LAST year or THIS year?

Regards,

Lee