{%DateTime.Now%}
But for kentico version 7, you can not call date time in macro using above code. So i have wondering how to call the date time using macro? and also want to format the date time.
Below is a example how you can show date time in kentico 7 using macro.
Get Date Time
{% CurrentDateTime%}Format Date Time
{% GetDateTime(CurrentDateTime, "MM dd yyyy")%}Hopefully the above solution help someone.
Thanks. By Mohd Zulkamal
NOTE : – If You have Found this post Helpful, I will appreciate if you can Share it on Facebook, Twitter and Other Social Media Sites. Thanks =)
0 comments:
Post a Comment