Feeling Awesome with the JavaScript Column! - Thanks Glide


wow
Is result is collection?

1 Like

Should be good now.

1 Like

:wink: should I get involved?

1 Like

Of course Uzo!

1 Like

Ill wait when it will get close to what I have :wink:

Open your cards please :upside_down_face:

1 Like

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!

1 Like

Awesome, Thinh! Thanks for checking! And thanks to others too that checked this!

1 Like

I’m really sorry guys for the lateness! :no_mouth: ( had some exams and few issues )

The Video

Calendar With Glide.mp4 - Google Drive

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! :muscle: :raised_hands:

Cheers for Glide and JS :clinking_glasses: :tada:

3 Likes