0

Hi all,
I have a problem with the date in javascript.I have a date which is in string format Like this: 10/5/2012 6:00 PM and what i need to do is at 5:00 PM on date 10/5/2012, i need to add a class to the td.

<table width="100%" border="0" id="datetime">
  <tr>
    <td>Dates</td>
  </tr>
  <tr>
    <td>10/9/2012 6:00 PM</td>
  </tr>
  <tr>
    <td>10/9/2012 7:00 PM</td>
  </tr>
  <tr>
    <td>10/10/2012 8:00 PM</td>
  </tr>
  <tr>
    <td>10/15/2012 8:00 PM</td>
  </tr>
</table>
3
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by Taywin
0

So, your question is not 100% clear, at least not to me. You are showing a table in your example with date/time data in your table cells. You mentioned that you want to show these values in a different format?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.