Search:

Type: Posts; User: george

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    3,655

    Re: a litle help on how to convert date to day

    to be more precise, it works fine for every date except for the leap year 1916. all other years work perfectly. i cant seem to find why though......

    i can solve it partially if i put
    if...
  2. Replies
    6
    Views
    3,655

    Re: a litle help on how to convert date to day

    i have done it like this but i am having trouble with leap years. when i insert a year which is not leap it works fine, but when the year is leap it prints the wrong day. can you point me to the...
  3. Replies
    6
    Views
    3,655

    Re: a litle help on how to convert date to day

    so to check if i understood:
    lets say my base date is 1/3/1900 (1900 was not a leap year)
    and the user gives me for example 10/2/2000 ( it is a leap year so february has 29)


    user year-base...
  4. Replies
    6
    Views
    3,655

    a litle help on how to convert date to day

    i have an assignment in which a user enters a date in dd/mm/yy format and the program must output what day of the week that date is.

    I use 3 different variables to get the values of dd,mm and yy
    ...
Results 1 to 4 of 4