fpDateTime control behavior for 12:00 is not correct

Posted by: amitsiddhapura2010gmail-com on 3 August 2017, 12:39 pm EST

  • Posted 3 August 2017, 12:39 pm EST

    I am using far point input pro's fpDateTime control. When I enter 00:00 as a text in control, it converts it into 12:00:00 AM on tab click. But when I enter 12:00 as a text in control, it also converts it into 12:00:00 AM on tab click, which is incorrect behavior. It should display 12:00:00 PM when I enter 12:00 and press tab. Is this known issue or is fixed in any recent release?
  • Replied 3 August 2017, 12:39 pm EST

    Hello,
    You can try setting UserDefinedFormat in that case as given below:-


    ctr.DateTimeFormat = UserDefined
    ctr.UserDefinedFormat = "hh:nn ap"


    Hope it helps.

    Thanks,
    Reeva
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels