With K#, you often need to be careful putting linked macros across multiple lines, and follow the format in the K# Macro syntax:
{% date = CurrentDateTime; if (date.Year > 2013) { %}
The current date is: {% date %}. The registration period has ended.
{% } |(identity)GlobalAdministrator%}