I have a unix timestamp (int) in PHP. I want to display this value in a nice manner in the HTML5 datetime input element. I would like to be able to have users see this value in a nice presentable manner, as well as edit it. Is there any nice way of doing this, or am I fooling myself and I am going to have to fuss around with lots of string manipulation?
Share
HTML5 Input timeis something like this : 1985-04-12T23:20:50.52You can do that in PHP like this :
Output
HTML with Timestamp