How to format my Date Field to "MM/dd/yyyy" string.
I have set data type of Date Column to { “type”: “date string” } which returns the date in “dd/MM/yyyy” but I need the date formate “MM/dd/yyyy”. How to achieve it? Please assist.
2 answers
Hello,
Thank you for reaching out to us.
The desired formatting for the date string
data type can be achieved using the datePattern
property of the options
object.
It can be specified in the following way:
...
options: {
datePattern: "MM/dd/yyyy"
...
}
You are welcome to check out an example we have prepared for you.
More about the options
object and its properties can be found in our documentation.
We hope it works for you.
Do not hesitate to contact us in case additional questions occur.
Best regards,
WebDataRocks Team
Thank you so much. It worked.
This question is now closed