如何在当前时间javascript添加1:30小时 [英] How to add 1:30 hours in current time javascript

查看:129
本文介绍了如何在当前时间javascript添加1:30小时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想加1:30宣布1小时30分,因为用户可以在途中尽可能多地输入1:45,1:35



我尝试了什么:



i已经在网上寻找但是没有得到我的答案相关到这个

i want to add 1:30 which pronounced 1 hour 30 minits as the same way user may give input 1:45,1:35 as many as possible above the way

What I have tried:

i have looking for in the web but did not get my answer relavent to this

推荐答案

你见过这个:如何将min添加到当前日期/特定日期并比较javascript中的两个日期? [ ^ ]?

或者:如何使用javascript添加分钟 [ ^ ]?

或者这个: javascript - 添加6小时到当前时间并显示到页面 - 堆栈溢出 [ ^ ]?

或者: jquery - 使用javascript将日期和分钟添加到日期 - Stack Overflow [ ^ ]?
Have you seen this: How to add min to current date/specific date and compare both dates in javascript?[^]?
Or this:How to add minutes using javascript[^]?
Or this: javascript - Add 6 hours to current time and display to page - Stack Overflow[^]?
Or this: jquery - Adding hours and minutes to a date with javascript - Stack Overflow[^]?


这是你的答案 - 如何向JavaScript Date对象添加30分钟? - 堆栈溢出 [ ^ ]。
Here is your answer - How to add 30 minutes to a JavaScript Date object? - Stack Overflow[^].


这篇关于如何在当前时间javascript添加1:30小时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆