Change date format on Custom Attribute
PermalinkHow do i display this as dd-mm-yy?
Thnx in advance
<?php $u = new User(); if($u->isLoggedIn()) { $ui = UserInfo::getByID($u->getUserID()); echo $ui->getAttribute('subscription_end');} ?>
<?php $u = new User(); if($u->isLoggedIn()) { $ui = UserInfo::getByID($u->getUserID()); echo $ui->getAttribute('subscription_end');} ?>
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.
http://www.concrete5.org/marketplace/addons/version-online-time-sch...
Since the add-on uses date output as well, I explain in it a couple of concrete5 configuration constants which influence the date output and how to set them. Maybe one of them will do the trick.