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


Tommy Davis
March 29th, 1999, 09:50 PM
I am a computer science student and was given a project to create a calendar. I have to be able to create and number the calendar to any data entered by the user. I am not fimilar with dates and am having trouble finding code to help with this. I am a beginner of VB and understand some of the functionality of the Date function, but I do not understand how to code for lets say, April 5, 1954 or May6, 2123. I also don't know how to loop through the calendar and label it. If you have any insight to these problems or know were I could be some sample code that is easily unstandable it would be great.

thanks,

Tommy Davis

trdavis222@aol.com

Jerry Coffin
March 31st, 1999, 01:30 AM
Do a search for "Zeller's Congruence" and it should turn something up. If you can't find any code in VB, you might take a look at Ray Gardner's code in C at www.snippets.org, and take a shot at translating it.