Sign in storing in coockies for one year untill we logout or clear cookies

@arikfr Need your help here
Sign in storing in coockies for one year untill we logout or clear cookies
response.headers.add_header(‘Cache-Control’, ‘private,max-age=%d’ % ONE_YEAR)
Can we modify this ONE_YEAR. to one day with env variables …?