Thanks. Any idea what the string expression for US Mountain Time would be (e.g. Denver, CO)?
- Dave Christian Poecher wrote: > > > > laredotornado wrote: >> >> but if I type a value like "10-10-2008" into my search box, what is >> actually logged is >> >> DEBUG 2008-12-04 09:04:17,270 - >> [com.myco.nps_history.beans.SearchBean::setFromDate] - setting from date: >> Thu Oct 09 18:00:00 MDT 2008 >> >> What can I do to prevent this off-by-one error? >> > > Hi Dave, > > I'd say you are not off a day, but off 6 hours. Is MDT = GMT-6? Maybe your > Timezone is not set properly. Try reading > http://wiki.apache.org/myfaces/FAQ#Date and > http://venkatsadasivam.wordpress.com/2008/07/08/jsf-default-timezone-and-date-pattern/ > > Cheers, > Chris > -- View this message in context: http://www.nabble.com/t%3Acalendar-is-giving-me-dates-off-by-1-day-tp20836530p20836996.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

