Im working on a small personal react project, and here is my code:
<input name="date" type="datetime-local" value={state.newVariable.date} onChange= {handleChange}/>
My goal is to have my date go from yyyy-mm-ddthh:mm:ss to MM-DD-YY mm:ss
I read the moment js documentation but where would I start with the moment method? I appreciate any help, also to add I'm a self taught newbie.