Dayjs depois
dayjs().isAfter(dayjs('2011-01-01')) // default granularity is milliseconds
dayjs().isAfter('2011-01-01', 'year') // to chage the granularity to year
PeruTilli
dayjs().isAfter(dayjs('2011-01-01')) // default granularity is milliseconds
dayjs().isAfter('2011-01-01', 'year') // to chage the granularity to year