I have heard this phrase a lot of times before in forms like:
Take (anything) for granted.
Don't take (anything) for granted.
I'm not sure about how to translate it:
Dar (algo) por terminado/realizado/hecho
Is this ok? If not, what would be the correct translation of this phrase? Can you give examples of its usage?