The verb 离
In Chinese “离” (lí) expresses the distance between places, or the interval to a point in time.
It states how far one place is from another, or how long is left until something.
Basic structure
A + 离 + B + ...
Meaning:
A is … from B
or
there is … left until A
Examples
咖啡店离这儿有点儿远。
The coffee shop is a bit far from here.
咖啡店 + 离 + 这儿 + 有点儿远
the coffee shop + from + here + a bit far
咖啡店coffee shop
离from
这儿here
有点儿远a bit far
学校离医院不远。
The school isn't far from the hospital.
学校 + 离 + 医院 + 不远
the school + from + the hospital + not far
学校school
医院hospital
不远not far
现在离我的生日还有三天。
There are still three days until my birthday.
现在 + 离 + 我的生日 + 还有三天
now + until + my birthday + still three days
现在now
我的生日my birthday
还有三天there are still three days
Here 离 marks an interval of time, not a distance between places.
Quick rule
A + 离 + B + distance / time
Meaning: it states the distance or the interval between A and B.
咖啡店离这儿有点儿远。— The coffee shop is a bit far from here.
学校离医院不远。— The school isn't far from the hospital.
现在离我的生日还有三天。— There are still three days until my birthday.