Posts by richard oliveira • 53 points
2 posts
-
2
votes3
answers126
viewsA: String to date.parse Javascript conversion problem
I was able to solve by searching. The solution was to break through Split transforming into Array and then give a new date. It was like this: function ValidaDataVersao(escopoGrade) { let…
-
3
votes3
answers126
viewsQ: String to date.parse Javascript conversion problem
I’m getting in a date value variable on string and making the conversion to date, to be able to make a condition. The problem is that when the date comes as 31/12, the variable gets NaN. Follow the…