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

 

2 answers

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

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 21, 2024

Hello,

Hope you are doing well.

We were wondering if you had a chance to check the suggested approach. Please let us know if it works for you.

Looking forward to hearing from you.

Kind regards,
Nadia

Please login or Register to Submit Answer