Added datetime support for cookies