added logic for transforming integer values of ampm, month, minute time into words