Use the RESTORE HEADERONLY command to locate the particular backup you want, as that result set shows the BackupFinishDate. Note the field named Position; that is the FILE number.
At this point, if you already know the logical names, you can run a RESTORE command using the FILE option in the WITH clause.
restore database yourDB
from disk = N'C:\Program Files\Microsoft SQL Server\yourDB.bak'
with
file = 3
You probably already know that you can use the RESTORE FILELISTONLY command to find the logical names.
Tibor Karaszi has posted a similar (but not same) solution here: http://www.karaszi.com/SQLServer/util_restore_all_in_file.asp You can use his CREATE TABLE commands to get the results of RESTORE HEADERONLY into a table. What I've pasted in below shows how to get the results of RESTORE FILELISTONLY into a table (also ripped from Tibor).
create table FLO_results (
LogicalName nvarchar(128),
PhysicalName nvarchar(260),
[Type] char(1),
FileGroupName nvarchar(128),
Size numeric(20,0),
MaxSize numeric(20,0),
FileId bigint,
CreateLSN numeric(25,0),
DropLSN numeric(25,0),
UniqueId uniqueidentifier,
ReadOnlyLSN numeric(25,0),
ReadWriteLSN numeric(25,0),
BackupSizeInBytes bigint,
SourceBlockSize bigint,
FilegroupId bigint,
LogGroupGUID uniqueidentifier,
DifferentialBaseLSN numeric(25),
DifferentialBaseGUID uniqueidentifier,
IsReadOnly int,
IsPresent int
)
;
insert into FLO_results
exec('
restore filelistonly from disk = ''C:\Program Files\Microsoft SQL Server\yourDB.bak''
')
;
select * from FLO_results
;
drop table FLO_results
;