TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sonu Chaudhary
NA
1.8k
279.8k
how to access array of datetime from viewdata in javascrip
Jun 2 2016 9:44 AM
I have array of DateTime in my ViewBag on controller. But when i want to access this viewbag on view/page. when i debug javascript then it show:-
var array = ["\/Date(1464208500000)\/","\/Date(1464302100000)\/","\
/Date(1464226500000)\/"];
i want value like this:-
var
array
= ['5/26/2016 02:10:00 AM', '5/27/2016 4:10:00 AM', '5/26/2016 7:10:00 AM'];
Reply
Answers (
1
)
How to parse data from Json Result in Jquery Ajax?
How can I edit javascript time picker text editable?