properly store dates using #strftime