should I get involved?
Of course Uzo!
Ill wait when it will get close to what I have
Open your cards please
You are asking that does the values are stored in a table?
And happy that it works! I’ll share the video by tomorrow with the needed info!
Awesome, Thinh! Thanks for checking! And thanks to others too that checked this!
I’m really sorry guys for the lateness! ( had some exams and few issues )
The Video
Required Info
- Current Month_js
const date = new Date();
const month = date.getMonth();
return month;
- Current Year
YEAR(date)
- Day Number Image
https://dummyimage.com/600x400/000/fff&text=*
( replace the * with the Day Number )
- Current Day
Day(Date)
- Today Day Image
https://dummyimage.com/600x400/f70d0d/fff&text=*
( replace the * with the Current Day )
- Week Day Name
const dayNum = p1;
const month = p2;
const date = new Date();
date.setFullYear(p3);
date.setMonth(month);
date.setDate(dayNum);
const weekdayName = new Intl.DateTimeFormat('en-US', { weekday: 'long' }).format(date);
return weekdayName;
( replace the p1,p2,p3 parameters like in the video )
- Day Number exists in the month
function isDayValid(dayNum, month) {
const currentYear = p3;
const date = new Date();
date.setFullYear(currentYear);
date.setMonth(month);
date.setDate(dayNum);
return date.getFullYear() === currentYear && date.getMonth() === month;
}
return (isDayValid(p1,p2));
( replace the p1,p2,p3 parameters like in the video )
Hope you guys will enjoy and Hope to explore more features like this!
Cheers for Glide and JS