Disable dates on Shadcn UI Calendar Component and React Day Picker

import { format, lastDayOfMonth } from 'date-fns'
const today = new Date()
const firstDateOfMonth = format(today, 'yyyy-MM-01')
const lastDateOfMonth = format(lastDayOfMonth(today), 'yyyy-MM-dd')

Courses

Get Started with AstroJS

Course on React

Course on Tailwind

Course on React Native

Course on Express

Course on Cloudflare Worker

Course on Rust