No I am not using tioolset I amb using Metabox,
but I am using a code block from another webpage so I can use the code for a new site.
This is not working.....:
<?php
// Get the post ID
$post_id = get_the_ID();
$metabox_field = get_post_meta("fecha_de_evento");
// Get the Toolset date
$timestamp = get_post_meta( $post_id, $metabox_field, true );
// Convert string to int
$timestamp_to_int = (int)$timestamp;
// Convert string to date
$date = (date_i18n('l, j F.', $timestamp_to_int));
?>
<div class="my-date"><?php echo $date;?></div>