RE: How to format util date with JSTL

2007-04-13 Thread Fogleson, Allen
Doesn't really belong in a struts list but here If you want them all in GMT you will have to convert them in your action. Al From: Vinit N [mailto:[EMAIL PROTECTED] Sent: Fri 4/13/2007 3:42 PM To: [EMAIL PROTECTED] Subject: How to format util date wi

Re: How to format util date with JSTL

2007-04-13 Thread Martin Gainty
You can use the format and parse options of jstl/fmt e.g. <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %> var="formatted" /> (parsed in "GMT") M- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this

RE: How to format util date with JSTL

2007-04-13 Thread Rod Bollinger
Vinit, Place the following at the top of your JSP: <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %> Then, use the following to format your date: The dateStyle attribute uses the same semantics as the SimpleDateFormat. You can alternatively use the pattern attribute to specif