</pre><pre name="code" class="html"><input type="text" name="textfield" id="textfield" class="select" value="<fmt:formatDate value="${studnetInfo.studentBirthday}" pattern="yyyy-MM-dd" />">
这里主要是对jsp的时间进行格式化。还有freemarker的时间格式化。
<pre name="code" class="html">${(studnetInfo.studentBirthday?string("yyyy-MM-dd"))!}