How to change input time am pm

How to change input time am pm
0

#1

From am and pm to non english language?

Thanks


#2

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.


#3

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


#4

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

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