mardi 7 juillet 2015

IF logic in html

I am trying to figure out how to code the following logic in html. I don't know if it is possible (I am a total newbie) but I thought I may as well ask.

  • If today's date is Wednesday to Sunday (the program would need to get this information from somewhere), then the text output should be "1"
  • If today's date = Monday, output = "2"
  • If today's date = Tuesday, output = "3"

Thanks in advance for your help.

Aucun commentaire:

Enregistrer un commentaire