Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: obtur
  • Order by date
  1. obtur

    function below calculates day of the week for any given date. not returning correctly, plz help

    Thank you so very much :-) Yes it was.... :-D I did it like this below : function getDayName() { var myDate= document.getElementById("dateInput").value; if(myDate == ""){ document.getElementById("result").innerHTML = "Invalid date. Please enter a date in dd/mm/yyyy fomat" } else...
  2. obtur

    function below calculates day of the week for any given date. not returning correctly, plz help

    The function below calculates the day of the week for any given date. It currently is not returning the correct day. The function is not working correctly. Fix it to return the correct day. <strong>Test cases: 26/07/1969 = Saturday Also please update the function to print the day and month...

Part and Inventory Search

Back
Top