downloadhere.co

Get name of day and month

  function dateBuilder() {

    const d = new Date();

    let months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];

    let days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];

    let day = days[d.getDay()];

    let date = d.getDate();

    let month = months[d.getMonth()];

    let year = d.getFullYear();    

    console.log(`${day} ${date} ${month} ${year}`);

  }

  
Or you can use the date.js library. 🥱


Frequently asked questions

For anything else (licensing, billing, etc), please visit our Help Center.

If you need help with the product, contact us via email to ryan@downloadhere.co. For anything else (licensing, billing, etc), please visit our Help Center (Help Center will enable only when you are logged in 😉).
PC: To extract a single file or folder, double-click the compressed folder to open it. Then, drag the file or folder from the compressed folder to a new location. To extract the entire contents of the compressed folder, right-click the folder, click Extract All, and then follow the instructions. Mac: Double click the .zip file, then search for the product folder or product file. If you continue to have trouble, check out this help file for more tips.

Exclusive Icons & Illustrations

Checkout our latest themes, templates and illustrations.