Click here to Skip to main content
15,916,280 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My teacher wants us to enhance this javascript code using bootstrap and form it into a footnote. thanks :)

const last = moment(document.lastModified, "MM/DD/YYYY");
const now = moment();
document.write('The last modified date is: ' + last.format("YYYY-MM-DD") + ' and the current date is: ' + now.format("YYYY-MM-DD"));

What I have tried:

Im not sure where to start exactly
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900