How would you get the date of the first day (the Sunday) of the current week in Velocity?
How would you get the date of the first day (the Sunday) of the current week in Velocity?
I would recommend creating a custom velocity extension and adding a method to do this in that extension. Velocity is that the best format for logic like this. There is an article on creating custom widget extensions here.