Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Angularjs datetime

var myDate = new Date();
myDate = $filter('date')(myDate , "YYYY-MM-DDThh:mm"); 
$scope.form.date.push(myDate);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Angularjs #datetime
ADD COMMENT
Topic
Name
4+8 =