I found the answer to my own question the problem was actually the selector. Thanks to @Blazemonger i found a way to select the right div
JQuery Code
var repeater;
function showcurrenttime()
{
$('.crnttym').text(moment().format('MMMM Do YYYY, h:mm:ss a'));
$('.interviewtime').each(function (i, el)
{
if ($(this).data('time') < moment().format('YYYYMMDDHHmmss'))
{
$(this).parent().addClass('dngr');
};
if ($(this).data('time') > moment().format('YYYYMMDDHHmmss') && $(this).data('time') < moment().add('h',1).format('YYYYMMDDHHmmss'))
{
$(this).parent().addClass('ready');
};
});
repeater = setTimeout(showcurrenttime, 500);
}
showcurrenttime();
I am answering my own question as i manage to solve it with some help and others can refer to this as well