forked from RiseUP/riseup-squad23
43 lines
639 B
JavaScript
43 lines
639 B
JavaScript
import React from 'react'
|
|
|
|
import dayjs from "dayjs"
|
|
|
|
const TabelaAgendamentoMes = () => {
|
|
|
|
const dataHoje = dayjs()
|
|
const AnoAtual = dataHoje.year()
|
|
|
|
const mes = dataHoje.getMonth()
|
|
|
|
console.log(AnoAtual)
|
|
|
|
//Domingo = 0
|
|
//Segunda = 1
|
|
//terça = 2
|
|
//quarta = 3
|
|
//quinta = 4
|
|
//sexta = 5
|
|
//Sabado = 6
|
|
|
|
|
|
|
|
return (
|
|
<div>
|
|
<table>
|
|
<tr>
|
|
<th>Seg</th>
|
|
<th>Ter</th>
|
|
<th>Qua</th>
|
|
<th>Qui</th>
|
|
<th>Sex</th>
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default TabelaAgendamentoMes |