javascript - Convert an Serverdate in HTML? -
startdate: 2014-05-14t00:00:00.000+02:00 [pdf output]
i utilize .tmpl (html build), next function:
<div class="txt"><tr><td style="width: 131px">startdate: </td> <td style="width: 473px"> {{startdate}}</td></tr></div><br> <div class="txt"><tr><td style="width: 131px">enddate: </td> <td style="width: 473px"> {{enddate}}</td></tr></div><br> the {{ function }} open function , utilize server date.
how can convert {{startdate}} yyyy.mm.dd or dd.mm.yyyy ?
not "t00:00:00.000+02:00"
javascript html date
No comments:
Post a Comment