The header is actually sent as a text representation of the date and for the cookie to be valid, it must be in the form:

DAY, DD-MMM-YYYY HH:MM:SS GMT

Since the function you are using takes care of the conversion from a DateTime object to this text, I would hope it would to the conversion for you.

I will be testing it as soon as I get VWD Express 2008 installed. Smiley