strip timestamp from the date
strip timestamp from the date
![drakula1234](https://secure.gravatar.com/avatar/384aecff3693e0598fc71a3f94c4d136/?default=https%3A%2F%2Fvanillicon.com%2F384aecff3693e0598fc71a3f94c4d136_200.png&rating=g&size=120)
I am passing a Date in the JSON object to the datatables plugin. The format from webservice call is like
"Sat Jan 10 00:08:00 EST 2009"
, I need to strip off the time, EST and the day, I mean it should look something like
"Jan 10, 2009"
and the column is sorted on the server side. All I need is to strip off the data on the fly on the client side. I am still in the process of learning datatables plugin, I am not sure of implementing this. Experts please point me to the right direction.
Thanks in advance.
"Sat Jan 10 00:08:00 EST 2009"
, I need to strip off the time, EST and the day, I mean it should look something like
"Jan 10, 2009"
and the column is sorted on the server side. All I need is to strip off the data on the fly on the client side. I am still in the process of learning datatables plugin, I am not sure of implementing this. Experts please point me to the right direction.
Thanks in advance.
This discussion has been closed.