get current days week + next week

web dev asked on February 2, 2019 14:37

hello kentico dev i hope you re doing well i was trying to apply macro that show days of current week + next week is there custome methode thanks team

Recent Answers


Peter Mogilnitski answered on February 3, 2019 01:15 (last edited on December 10, 2019 02:31)

There is no custom method. All macro methods in {% DateTime.%) For example {% DateTime.Today.DayOfWeek |(identity)GlobalAdministrator%} will give you current day of the week. But I 'd rather create a custom macro and do all this in c# (tons of examples on stackoverflow).

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.