Remove the Time from the out put
-
We used below code to echo the Expire Date.
<?php // Standard $value = get_post_meta( $post->ID, ‘xn-wppe-expiration’, true ); echo $value; ?>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
The plugin is a great solution but our requirement is only to show the date without the time. is there anyway to ignore the time from the output? Please consider about this matter and give a proper guidance to fulfill our requirement.
- The topic ‘Remove the Time from the out put’ is closed to new replies.