Answer the question
In order to leave comments, you need to log in
Why is the wrong time displayed after using date.toISOString()?
I'm interested in this piece of code:
const handleClickDay = (value) =>{
console.log(value)
var valToStr = value.toISOString().slice(0,10)
console.log(valToStr)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question