pulling the right date format is a problem

same page/other page...
problem: in the middle of expressions...solve at a different place in
the code?