Thread
:
Throw away milliseconds in 2013-01-25 22:31:55.809231
View Single Post
01-25-2013, 10:50 PM
PM User
|
#
3
felgall
Master Coder
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,468
Thanks: 0
Thanked 499 Times in 491 Posts
First load it into a Date object (so as to make sure that it is an actual valid date/time string) and then extract just the pieces you want.
__________________
Stephen
Learn Modern JavaScript -
http://javascriptexample.net/
Helping others to solve their computer problem at
http://www.felgall.com/
felgall
View Public Profile
Visit felgall's homepage!
Find More Posts by felgall