Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 13th Apr 2012, 14:08
kishorpatel415 kishorpatel415 is offline
Registered Developer
 
Join Date: Apr 2012
Posts: 2
Default DateTimeItem: custom format for 12 hour times

Hello,

I would like to use a custom format for the DateTimeItem. We need to read the month/day/year and the time in 12 hour format (am/pm). In GWT DateTimeFormat, this would be in formatting pattern: "MM/dd/yyyy hh:mm a"

I looked at the SmartGWT showcase but the samples used 24 hour format.

If someone could provide a code snippet that would be nice. Thanks in advance for your time.

Environment:
Smart GWT v3.0
Firefox 11
IE 8
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to custom date format on SelectItem? dczech Smart GWT Technical Q&A 2 17th Jun 2011 12:06
DateTimeItem display format problem RAS Smart GWT Technical Q&A 2 30th Sep 2010 05:21
Custom Date Format rukeller Smart GWT Technical Q&A 9 20th Aug 2010 01:47
How to format DateTimeItem ds3161 Smart GWT Technical Q&A 3 27th Jul 2010 06:54
Javascript error when setting a custom input date format clavaud Smart GWT Technical Q&A 1 5th Feb 2009 12:53

© 2010,2011 Isomorphic Software. All Rights Reserved