></div>

    <script>
        function formatDate(dateString) {
            const now = Date.now()
            const date = new Date(dateString)
            // return new Date(dateString).toLocaleString();
            // return date.toISOString().split('T').at(-1).replace('Z', '');
            const seconds_diff = Math.round((date - now) / 1000, 0)
            if (seconds_diff < 0) {
                return `${seconds_diff}s ago`;
            } else {
                return `${seconds_diff}s in the future`;
