use date in events, synchronize cookie everytime