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
‹
›
Home
View web version
No comments:
Post a Comment