My project needs to be able to calculate percentages based upon days and bookings and i need to know, if there is a specific function that allows you to..

Enter [Month] And [Year], Count the Amount of days in that Month.

Or

Enter a Date ##01/01/06## And it Returning how many days are in the month ##01/06##

Thankyou in advance :)

Recommended Answers

All 2 Replies

This forum area is for high-level topics that don't deal with specific line of code.

If you want help with a specific language, post a help request in the forum that deals with that specific language.

Chris is right - the answer is totally language dependent. In general there no functions like that in most high level languages, some databases provide that capability, as do a few specialy languages.

Normally you write a small function/procedure to do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.