Следующий семинар
...

<script>
let     Data = new Date(),
        TDay = new Date();

let finDate ='';

//Получаем последний день месяца и его индекс
let lastDay = new Date(Data.getFullYear(), Data.getMonth() + 1, 0);
let dInd = lastDay.getDay();

//Вычисляем разницу до четверга
let minDay = 0;
if(dInd==0) minDay=3;
if(dInd==1) minDay=4;
if(dInd==2) minDay=5;
if(dInd==3) minDay=6;
if(dInd==4) minDay=0;
if(dInd==5) minDay=1;
if(dInd==6) minDay=2;

//Получаем дату четверга, последнего в месяце
lastDay.setDate(lastDay.getDate()-minDay);

//Сравниваем текущую дату и последний четверг месяца
if(Data < lastDay){//если последний четверг месяца ещё не наступил и не прошёл
    finDate = lastDay;
}else{//если последний четверг месяца уже был
    
    //Получаем последний день месяца и его индекс
    let lastDay = new Date(Data.getFullYear(), Data.getMonth() + 2, 0);
    let dInd = lastDay.getDay();
    
    //Вычисляем разницу до четверга
    let minDay = 0;
    if(dInd==0) minDay=3;
    if(dInd==1) minDay=4;
    if(dInd==2) minDay=5;
    if(dInd==3) minDay=6;
    if(dInd==4) minDay=0;
    if(dInd==5) minDay=1;
    if(dInd==6) minDay=2;
    
    //Получаем дату четверга, последнего в месяце
    lastDay.setDate(lastDay.getDate()-minDay);
    finDate = lastDay;


};


let Month = finDate.getMonth();
let Day = finDate.getDate();
let Year = finDate.getFullYear();


//Добавить 0
let zMonth = ("0" + (Month+1)).slice(-2);


switch (Month)
{
  case 0: fMonth="января"; break;
  case 1: fMonth="февраля"; break;
  case 2: fMonth="марта"; break;
  case 3: fMonth="апреля"; break;
  case 4: fMonth="мая"; break;
  case 5: fMonth="июня"; break;
  case 6: fMonth="июля"; break;
  case 7: fMonth="августа"; break;
  case 8: fMonth="сентября"; break;
  case 9: fMonth="октября"; break;
  case 10: fMonth="ноября"; break;
  case 11: fMonth="декабря"; break;
}

finDate  = `${Day}.${zMonth}.${Year}`;

$('.date-text .tn-atom').text(finDate);


</script> 
Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed or printed, on either display pages or blank pages.
What You'll Get
We work hard every day to make life of our clients better and happier
High Quality
We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do. We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do.We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do.We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do.We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do.We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do.We are a leading firm in providing quality and value to our customers. Each member of our team has at least 5 years of legal experience. We like what we do.
Learn more
Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed or printed, on either display pages or blank pages.
Made on
Tilda