Cookie/History/Hotlist: use localtime()Some platforms do not support the reentrant form, so don't use it.