python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Javascript: Subtract months from a string date using moment library
Unable to subtract months from a string date using moment library
var str = '2015-10-30'; // date in the string format
var dateMoment = moment(str)
var result = moment(dateMoment).subtract(12, 'mo...
Jackal
Votes: 0
Answers: 2
Passing correct value to moment.js `toDate() function`
In my timepicker component in my react-native app I need to pass a value into moment's toDate() function, because that's the format the component requires.
The value I have is a clock value, coming in...

Muirik
Votes: 0
Answers: 1
How to handle incorrect system time (offset from the system timezone) on device?
I know this is a relatively popular question, but the answers which I found didn't cover the following use case:
Let's consider that a user has Europe/Moscow timezone set on device which means it is G...

Daniil Kunin
Votes: 0
Answers: 0
Time Series Line chart js in react not working
R/python user, new to javascript. I am trying to do something which I thought would be simple, a basic time series chart using chart-js in react.
I don't seem to be able to get the axis to work proper...
Joshua
Votes: 0
Answers: 1