StringFormat is often used, using <% # DataBinder.eval ("DATE", publishing time at data binding: {0: YYYY-MM-DD HH: MM} "%> When string.format () method is also convenient String scriptb = "