facebook

  1. MyEclipse Archived
  2.  > 
  3. General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #273252 Reply

    pmohanan
    Member

    Hi…All,

    We are using <f:convertdatetime> to capture date from the user. The pattern is set to “MM/dd/YYYY”. But if the user enters only 2 character year, then the component is not converting the date properly.

    For e.g. 01/02/03 re-renders as 01/02/0003

    How do we force the user to enter 4 YYYY instead of YY when the pattern is set to “MM/dd/YYYY”

    Regards,

    Praveen

    #273301 Reply

    Loyal Water
    Member

    Moving to Off Topic >> General

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To:

You must be logged in to post in the forum log in