search

Home  >  Q&A  >  body text

javascript - Js calculates the first half of the month and the second half of the month?

If a date of May 5 is given, then the first half of April and the second half of April are obtained. If it is May 20, then the first half of May and the second half of April are obtained. What needs to be considered here is the special situation in February

ringa_leeringa_lee2748 days ago643

reply all(1)I'll reply

  • 某草草

    某草草2017-05-19 10:22:42

    May 5th, how do you know that it is the first half of April and the second half of April?
    May 20th, it is the first half of May and the second half of April?
    Where is the dividing point?
    Can the questioner give me some advice? Any detailed explanation?

    reply
    0
  • Cancelreply