https://www.mrjbgroup.co.in
919266354589
Buy & Sell Property 2026-04-01T06:34:34
MRJB GROUP REALTY PVT LTD

Buy & Sell Property

Message Us

Other Pages

Buy & Sell Property 2026-04-01T06:34:34
MRJB GROUP REALTY PVT LTD
Buy & Sell Property
2026-04-01T06:34:34 read more
Book Appointment

No services available for booking.

Select Staff

AnyBody

Morning
    Afternoon
      Evening
        Night
          Appointment Slot Unavailable
          Your enquiry
          Mobile or Email

          Appointment date & time

          Sunday, 7 Aug, 6:00 PM

          Your Name
          Mobile Number
          Email Id
          Message

          Balinese massage - 60 min

          INR 200

          INR 500

          portfolio False True +918048067042
          `; // Presumed existing content in ArticleString const styleTag = ` `; const customPageHtmlString = `${existingContent}${styleTag}`; // Create a div element to act as the shadow host const shadowHost = document.createElement('div'); // Changed 'p' to 'div' for a more common shadow host document.getElementById(id).appendChild(shadowHost); // Corrected the id selection // Attach a shadow root to the shadow host const shadowRoot = shadowHost.attachShadow({ mode: 'open' }); // Insert the HTML string into the shadow root shadowRoot.innerHTML = customPageHtmlString; } if (document.getElementById("custompageDescription")) { addDynamicHtml('custompageDescription'); } function formatHumanReadableDate(timestamp) { const date = new Date(timestamp); const options = { year: "numeric", // e.g., "2024" month: "short", // e.g., "Aug" day: "numeric", // e.g., "23" }; return date.toLocaleDateString(undefined, options); } function getContextualTime(timestamp) { const now = new Date(); const time = new Date(timestamp); const diff = now - time; const msPerMinute = 60 * 1000; const msPerHour = msPerMinute * 60; const msPerDay = msPerHour * 24; const msPerWeek = msPerDay * 7; const msPerMonth = msPerDay * 30; const msPerYear = msPerDay * 365; const daysAgo = Math.floor(diff / msPerDay); const weeksAgo = Math.floor(diff / msPerWeek); const monthsAgo = Math.floor(diff / msPerMonth); const yearsAgo = Math.floor(diff / msPerYear); if (diff < msPerDay && now.getDate() === time.getDate()) { return `Today`; } else if (daysAgo === 1) { return `Yesterday` } else if (daysAgo < 7) { return `${daysAgo} days ago`; } else if (weeksAgo < 5) { return `${weeksAgo} week${weeksAgo > 1 ? "s" : ""} ago`; } else if (monthsAgo < 12) { return `${monthsAgo} month${monthsAgo > 1 ? "s" : ""} ago`; } else { return `${yearsAgo} year${yearsAgo > 1 ? "s" : ""} ago`; } } const dateElement = document.querySelector(".date-format"); const timestamp = `2026-04-01T06:34:34`; const parsedDate = new Date(timestamp); if (!isNaN(parsedDate)) { const contextualTime = getContextualTime(parsedDate); const humanReadableDate = formatHumanReadableDate(parsedDate); dateElement.innerText = contextualTime; dateElement.style.cursor = "pointer"; // Set the human-readable date as a tooltip dateElement.setAttribute("title", humanReadableDate); } else { console.error( `Invalid date format for element with class 'date-format'` ); }