AngularJs get Timestamp from a human readable date

Viewed 35953

Is there a way in angular JS to get Timestamp from a date obtained by a form?

<label for="start">From:</label>
<input type="date" ng-model="startDate" />

What will I have to write in the directive to transform this data? I didn't find anything about this particular issue, Regards

3 Answers
Related