JavaScript/html time -



JavaScript/html time -

i'm trying convert normal 24 hr scheme 20 hr scheme in javascript or html

there seems problems , don't know how prepare them, programme code whole works ok it's not accurate in area of displaying proper time

can help me.

24hrs per day 20hrs 60 minutes per hr 40 minutes per hr 60 seconds per min 80 seconds per min 1000 milliseconds per sec 1350 milliseconds per second

i have been working code supposed milliseconds 1/1/1970 create things simple said programme isn't working quite right, have table lets me know normal time @ each changed hr that's info have

check fiddle:

http://jsfiddle.net/z4s7j9vl/1/

my approach timestamp difference between current time , midnight of same day:

millis = ts - clone.gettime();

this way how many milliseconds have passed day , can conversion there. limited converting time only, if months , years followed same principles convert same way current timestamp.

time

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -