To express in Spanish within + [time] of + doing something we use this structure:
A + [time] + de + infinitive
Here are some examples:
A las dos horas de cancelar nuestro vuelo nos ofrecieron otro.Within two hours of cancelling our flight they offered us another one.
Note that in Spanish the definite articles are used (el, la, los, las), while English either uses no article or the indefinite article (see the third example above "within a week/a la semana").
Also, if the time phrase is masculine singular, using "el", then "a" + "el" are contracted: "al" as usual (see last example above)
Want to make sure your Spanish sounds confident? We’ll map your knowledge and give you free lessons to focus on your gaps and mistakes. Start your Braimap today »