Skip to content

Instantly share code, notes, and snippets.

@kamalinfo
Created December 21, 2017 05:12
Show Gist options
  • Save kamalinfo/dd7189e551d2e2168f85b06fa464ac77 to your computer and use it in GitHub Desktop.
Save kamalinfo/dd7189e551d2e2168f85b06fa464ac77 to your computer and use it in GitHub Desktop.
<?php
//
$date_events = get_post_meta(get_the_ID(), '_eduhome_events_date',true);
$date_formet = new DATETIME( $date_field );
<div class="running-offer__time" data-countdown="<?php echo $date_formet->format('Y'); ?>/<?php echo $date_formet->format('m'); ?>/<?php echo $date_formet->format('d'); ?>">
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment