Serialization/unserial. of date from/to in panels