0

I use date timpicker to show date time. Then store it to database. But I must in long fomat. I can get value as 2010-10-29 10:40:23 but how I get long value to store to database. Thanks

1

2 Answers 2

1

Datepicker directive using AngularJS and Bootstrap

http://www.codeproject.com/Tips/803247/Datepicker-directive-using-AngularJS-and-Bootstrap

Sign up to request clarification or add additional context in comments.

Comments

0

convert this date value to long in your angular controller.

var longDate = new Date("2010-10-29 10:40:23").getTime();

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.