is there any posibility that a date time picker will be save in JSON document, but not as timestamp?
Hi, @DE_VERA_JENNY_L
I would like to clarify your question,
we are talking about the DateTimePicker component, which is a frontend part, to save files of the JSON type, the server part is used. If you want to save the data received from this component in a JSON file, you need to create an API service with a route that will do this. Your approximate path will look like this
Frontend:
1 receiving data from the DateTimePicker component as a timestamp.
2. sending data using the API service route to the server part
Backend:
3. Receiving data from the frontend, processing and creating a JSON format and saving it as a file.
If you mean creating not a JSON file but an object on the frontend, then the component returns only a timestamp, but for example in the onChange or submit handler of the form you can convert it to an object.
Regards,
Sergey