954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Function Question!

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 :)

mrnath
Newbie Poster
4 posts since Nov 2005
Reputation Points: 10
Solved Threads: 0
 

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.

chrisbliss18
Posting Shark
917 posts since Aug 2005
Reputation Points: 38
Solved Threads: 25
 

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.

jim mcnamara
Junior Poster
180 posts since May 2004
Reputation Points: 62
Solved Threads: 10
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You