Struggling to retrieve the date in the format "Oct 29"
. I attempted using split but it varies every day. This is what I've come up with so far.
let currentDate = new Date().toLocaleDateString('en-US', { month: 'short', day: 'numeric' });
This will give you the date in the format
month<string> day<number>