vueJS – sql format time field to XX:XX

In my table I have a SQL "time" field.

As an example I have store in my table:

05:00:00

When I get it via symfony and render it I get this value:

1970-01-01T05:00:00+01:00   

Question:
How can I render this to 05:00?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *