Tuesday, October 3, 2017
Display UTC Date in User's Local Time with .toString()
$('.publishedDateString').each(function(){
$(this).text(new Date($(this).text()).toString());
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment