Need a special offer?Find out if your project fits.
+

sort by date

Answered
Bernabe Galaz asked on May 8, 2024

No me reconoce el formato de la fecha , e  intentado de traer la fecha en diferentes formatos y no funciona, cual es el formato correcto.

2024-05-08T11:50:45 not work

 

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 9, 2024

Hello Bernabe,

Thank you for reaching out to us.

Kindly note that Flexmonster supports the following date formats:

  1. ISO 8601. For example:
    • "2021-04-25" – Date.
    • "2021-04-25T21:30:05" – Date and time.
    • "2021-04-25T21:30:05+03:00" – Date and time with a time zone.
  2. Unix timestamp in milliseconds. For example, "2021-04-25" is 1619298000000 when converted to a Unix timestamp in milliseconds.

It means that "2024-05-08T11:50:45" is the correct format to be passed to Flexmonster. Please check the following JSFiddle for reference: https://jsfiddle.net/flexmonster/gyf7dcuw/. It shows the dates in the mentioned format correctly.
If you are still facing the issue, please modify the example above to show us the issue.

Looking forward to hearing from you.

Kind regards,
Nadia

Please login or Register to Submit Answer