Click to See Complete Forum and Search --> : Gregorian Calendar


v_watve
August 9th, 1999, 07:11 AM
I want to set applications date and time.
Date is not the system date.I am able to display date and time properly. But not able to display day.
for e.g 2nd Aug 1999 is Monday but I am getting it as friday.
please give solution to this problem.

varbsjava
August 9th, 1999, 07:58 AM
I think the problem might be u would have used the month variable returned from the Gregorian Calendar which is zero-based and would have used that month to get the day value.

Because Gregorain Calendar will return 7 for the Month value because it is zero-based. 2nd is Friday for July 1999.

regards,
arun...