You already know that. If it's April 2010 now, then access_log.0.gz
contains the logs of March 2010. (Beware the logs of March!)
If you want to get the date _out_of_the_file_ (why would you,
you already know that), it's in each and every line of the access_log:
158.108.213.20 - - [07/Apr/2010:08:01:48 +0200] "GET /hoeg/ HTTP/1.0" 200 3771
This is the month (which you already know anyway).
The year is not even present in the "turned over" messages.
But again, it is present in each and every of the log records.
Which apparently cannot do it (or what exactly is your problem?).
Try webalizer, it doesn't depend on log files being particularly
named and/or sorted, juts reads the individual records, remembers
previous periods, what was already processed, etc.