How do you use format and displayFormat settings? #59
-
Have tried a few times to change all displayed dates to m/d/Y. Have tried every combination that I can think of in php and JS date formats to achieve a display that shows month/day/year. All either display incorrectly or cause an error on the back end. Can anyone tell me what the ->format() and ->displayFormat() parameters should be to acheive this? |
Beta Was this translation helpful? Give feedback.
Answered by
craigcordell
Feb 19, 2024
Replies: 1 comment 1 reply
-
Please disregard. Must have had a typo. To show and use common United States date format of month/day/year ... ->displayFormat("MM/DD/YYYY") |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
craigcordell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please disregard. Must have had a typo. To show and use common United States date format of month/day/year ...
->displayFormat("MM/DD/YYYY")
->format('m/d/Y')