function s4() {
            return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
        }
@method
@example Sample.1
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3), 'mm/dd/yy');
</script>
@example Sample.2
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3), 'yyyy m.d');
</script>
@example Sample.dd.mmm.yyyy
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3), 'dd mmm yyyy');
</script>
@example Sample.dd.mmmm.yyyy
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3), 'dd mmmm yyyy');
</script>
@example Sample.5
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3, 20, 43, 53), 'hh:MM:ss tt mm/dd/yyyy');
</script>
@example Sample.6
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3, 20, 43, 53), 'hh:MM TT');
</script>
@example Short.WeekDay
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3), 'ddd, mmm dd');
</script>
@example Full.WeekDay
<div id="date"></div>
<script>
    document.getElementById('date').innerText = gj.core.formatDate(new Date(2023, 1, 3), 'dddd, mmm dd');
</script>