How to change input time am pm

From am and pm to non english language?


Unsure what you mean by this. If you have 5AM and you are trying to change it to 5PM you could just add 12 hours.

I mean PM to another language so not in english write AM or PM.

You could try using a method like Date.prototype.toLocaleTimeString().

If that doesn’t help maybe a time library like moment.js could.

1 Like