Thank you for a reply.
Well, I am taking data from the web site using API.
I tried doing something like this and it worked, however I had to use the
java script:
date = <%#Eval("MDate")%>
var myDate = new Date(date * 1000);
date = myDate.toGMTString();
So I was interested if there is a way to do a straight conversion in this part <%#Eval("MDate")%>?
What I get in a <%#Eval("MDate")%> is a string like 1331554332 and I need to convert it to normal date.