7 lines
333 B
Plaintext
7 lines
333 B
Plaintext
<% const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; %>
|
|
<%
|
|
const date = new Date(format_date*1000);
|
|
const year = date.getFullYear();
|
|
const month = date.getMonth();
|
|
const day = date.getDate();
|
|
%><%= months[month] %> <%= `${day}` %> <%= year %> |