Can i pass $time_local to backend server?

hi, i want set the variable $time_local in log to the header , and then
the backend server can got it
like: proxy_set_header MY_TIME $time_local
but i got error : unknown “time_local” variable
if i can set a variable about time to the header? many thanks!

Posted at Nginx Forum: