Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
757 B
1
Indexable
Never
new Date('07/01/2021')
Thu Jul 01 2021 00:00:00 GMT+0200 (hora de verano de Europa central)
new Date('07/01/2021').getTime()
1625090400000
new Date(1625090400000)
Thu Jul 01 2021 00:00:00 GMT+0200 (hora de verano de Europa central)
new Date('08/01/2021').getTime()
1627768800000
gte: 1625090400000 lte: 1627768800000
VM601:1 Uncaught SyntaxError: Unexpected identifier
Date.now()
1625161864625
new Date().getMonth
ƒ getMonth() { [native code] }
new Date().getMonth()
6
new Date().getMonth()
6
const actualMonth = new Date().getMonth() + 1
undefined
new Date(`${actualMonth}/01/2021`)
Thu Jul 01 2021 00:00:00 GMT+0200 (hora de verano de Europa central)
new Date(`${actualMonth}/01/2021`).getTime()
1625090400000
new Date().getDate()
1
new Date().getDay()
4