Added setDate method
Added setExpires method