Changed timestamp to date

Also how unknown device is handled.