Hi, thanks for the reply. I had evaluated this solution but in case there were 0 (highly unlikely but it can be) in the first positions in the timestamp it would be removed
We are casing the variable with integer. What is the issue you are having I'm not getting. Also, this is not related to Toolset but something related to PHP.
is it correct that I take this meta data as a string?
$end_date = get_post_meta( $course_id, 'wpcf-end_date', true );
is generated with a costum date field