alarm and date layout