Ich muss es vorm Wochenende machen [DAT]
Two way prepositions are either Dative or Accusative. When they are in dative they express only location or answers the question "where".
The example given above is of dative case however. In the sentence above I do not get the sense of location or answering question "where". I understand that there is no expression of direction involved in sentence in this case. Should I understand that if there is no expression of direction involved in sentence then the preposition should be in dative case in the case of two way preposition?