okay, but i need to return the day based on the current day, not just a value. The above example returns Sunday as the name.
Basically i am adding a calendar to a page, and I need to determine what dat of the week the (say) May 1 is, so that I can fill the cells from that point.
Isn't there a command that can return the day name from any value between 1 and 31 - and where the starting point is not Sunday = 1 , Monday = 2.
Main Topics
Browse All Topics





by: mscprojPosted on 2000-05-24 at 23:00:22ID: 2843676
dayValue = 1
dayName = WeekDayName(dayValue)