WebInput DateFormat

3 replies. Last post: August 22, 2014 3:14 AM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
spring gaoMember

follow http://live.intersoftpt.com/ Input Formatting Display Text(DataTime) sample and source code as follow:

<ISWebInput:WebInput ID="dtStartSchDate" runat="server">
                      <HighLight IsEnabled="True" Type="Phrase" />
                       <CultureInfo CultureName="en-US">
                       </CultureInfo>
                       <EditFormat Format="dd-MMM-yyyy" IsEnabled="True">
                           <MaskInfo MaskExpression="00-LLL-0000">
                           </MaskInfo>
                           <ErrorWindowInfo IsEnabled="True">
                          </ErrorWindowInfo>
                      </EditFormat>
                      <DisplayFormat Format="dd-MMM-yyyy" IsEnabled="True">
                        <ErrorWindowInfo IsEnabled="True">
            </ErrorWindowInfo>
                      </DisplayFormat>
                      <DateTimeEditor IsEnabled="True">
                      </DateTimeEditor>

</ISWebInput:WebInput>

 

when input "2011-08-30",expectation result is: 08-OCT-2011,but actual result is: 08/30/2011

is why?

tks

All times are GMT -5. The time now is 3:39 PM.
Previous Next