add support to landscape and also formatted the date timestamp