Reputation: 2269
I have an existing Date which I want to convert to it as (Y/m/d). My Date call is already as {$module_data.DATE}. How can I convert it?
{$module_data.DATE}
Upvotes: 1
Views: 958
Reputation: 6654
{$module_data.DATE|date_format:"%Y/%m/%d"}
Upvotes: 5