将日期添加到现有日期 [英] Add the Day to the Existing Date

查看:97
本文介绍了将日期添加到现有日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用现有日期添加日期时遇到问题


ex text field 1 == 29/11/2006


添加日= 10天


我的输出为39/11/2006


但是我需要结果as == 9/12/2006在另一个文本框中


请帮助我 在javascript中

I am facing a problem to add the days with the existing date

ex text field 1== 29/11/2006

Add day = 10 days

I am getting the output as 39 / 11 / 2006


but i need the result as == 9/12/2006 in another text box

Please help me in javascript

推荐答案


我在使用现有日期添加日期时遇到问题


ex text field 1 == 29/11/2006


添加日= 10天


我的输出为39/11/2006



但我需要在另一个文本框中输入== 9/12/2006


请帮帮我 < u>在javascript中



发布您正在使用的代码,提出问题

Post the code you are using that is giving the problem



我是facin ga问题添加现有日期的天数


ex text field 1 == 29/11/2006


添加日= 10天


我的输出为39/11/2006


但我需要的结果为== 9/12 / 2006在另一个文本框中


请帮助我 在javascript中



如果你加了10到29你得到39.你为什么不期望呢?

If you add 10 to 29 you get 39. Why wouldn''t you expect that?



发布你正在使用的代码问题
Post the code you are using that is giving the problem



你好温柔的男人,


我需要答案,我不需要问题,如果你知道答案重播

并帮助我先生,

Y ru浪费你的时间和你的思维能力。


"我微笑着打开。但是,我得到了经验丰富的请不要像这样先生,


如果有什么不对的话请原谅我。


如果你知道再次帮助我先生。


任何方式谢谢先生,

Frankline jose

Hello Gentle man,

I need the answers, i don''t need the questions, If u know the answer replay
and help me sir,
Y r u wasting ur time and ur thinking power.

" I opened with smile. but, i got frestrated" Please don''t do like this sir,

If any thing wrong forgive me.

If u know once again help me sir.

Any way thanks sir,
Frankline jose


这篇关于将日期添加到现有日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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