Hello,
Yes, they can. However, in your case, it's about creating a custom macro to retrive a current date in code (as far as I'm aware there is no native context macro available for this).
Please see more info here:
Appendix A - Macros.
Best regards
Ondrej Vasil