Home  >  Q&A  >  body text

求代码,js里面某天怎么返回和设置?

get/setMonth()能返回和设置月份,那日期,就是“6月15日”的“15日”怎么返回

phpcn_u224phpcn_u2242864 days ago1118

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 22:50:10

    Please give me the code, how to return and set it in js on a certain day? -PHP Chinese website Q&A - Looking for code, how to return and set up in js on a certain day? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 阿神

    阿神2016-12-17 16:34:41

    可以输入下面的语句试试

    var mDate = new Date();
    mDate.getData(); //返回日

    希望能帮到你

    reply
    0
  • Cancelreply