What do I need to set the time to?
You can't. Just set it for some time very far into the future (2-3 years will be perfect, cookies will be deleted before that).
for the time part on the setcookie(); use this:
time()+60*60*24*29.5*12*24
that will expire in exactly 24 years... 😃