It sounds like all you need is something like:
awk '
NR==FNR {
do file1 stuff
date = $0
next
}
{
do file2 stuff using the variable "date" which is set to the last line of file1
}
' file1 file2
If that's not all you need, post some sample input and expected output to help clarify what you're trying to do.