Using jQuery to find and then reformat a date string
Posted
by j-man86
on Stack Overflow
See other posts from Stack Overflow
or by j-man86
Published on 2010-03-17T23:50:14Z
Indexed on
2010/03/17
23:51 UTC
Read the original article
Hit count: 391
Hello,
I currently am displaying dates as follows "yyyy/mm/dd" in a wordpress blog (it needs to be input in this format because a plugin is using it to define a post expiration date). I want to use jQuery to locate all of these strings on a page (they're all in table cells) and reformat them to "mm.dd.yy"
The site is:
http://www.beattrainsoundsystem.com/category/gigs
The dates also exist in the footer on every page which I would also like to change.
Thanks!
© Stack Overflow or respective owner