Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DateItem field value format

    Hi,

    I am using a form with multiple fields of different type like date, select item, text item etc. On submitting the form, the i get the values corresponding to each field.
    I get the date in format : "Fri Sep 08 2017 12:00:00 GMT+0530 (India Standard Time)"
    But i need the format of value to be d/M/yyyy. How can i format it on client itself.

    #2
    That's just your browser stringifying the date.

    Open the Developer Console (SC.showConsole()) and check the RPC tab to see which value is actually being sent.

    You should probably read the Date and Time Storage overview in the docs as well.
    Last edited by Isomorphic; 8 Aug 2017, 01:54.

    Comment

    Working...
    X