How to merge two dates in JavaScript?

前端 未结 0 1223

I have 2 date objects. I want to take the date from one and the time from the other and combine them into a new date object.

date.toString() = Wed Dec 21 2011 00         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题