Tato123 Posted February 7, 2017 Report Share 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 Link to comment Share on other sites More sharing options...
Moderators servetas Posted February 7, 2017 Moderators Report Share 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 Link to comment Share on other sites More sharing options...
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.