Hmmmm… That seems to depend on the crime and/or the jurisdiction, but as far as I can tell by some quick googling, the date of the crime is more often the relevant date. Any people in the legal professions care to comment?
ETA: Of course, that’s probably because the majority of crimes are detected immediately, so perhaps the date of detection is the important date.