Tato123 Posted February 7, 2017 Report Posted February 7, 2017 Hello, if i have the function: <?php echo date(DATE_FORMAT.' ', strtotime($data->date)); ?> How is possible show only the Day and not the complete date? Thanks Quote
Moderators servetas Posted February 7, 2017 Moderators Report Posted February 7, 2017 What about this? <?php echo date('d', strtotime($data->date)); ?> More information can be found here: http://php.net/manual/en/function.date.php Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.