Kanji are important, because ひまで can be written in multiple ways with different meanings. For example:日まで = "until the day"暇で = "in my free time"