TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
satheesh babu
NA
128
311.8k
function for date assigning
Jan 8 2009 4:40 AM
Hi all,
here i want a function for variables fromdate and todate.
i am passing month and year as parameters for function and i want to return fromdate,todate from that function as
if i pass month as 01 & year as 2009 then i want fromdate as "01/01/2009" and todate as "31/01/2009"
if i pass month as 02 & year as 2012 then i want fromdate as "01/02/2012" and todate as "29/02/2012" means it need to check leap year also
if i pass month as 04 & year as 2009 then i want fromdate as "01/04/2009" and todate as "30/02/2009"
please give me some code for this
thank you...
Reply
Answers (
1
)
common problem for .NET web sites to have a kind of slow browsing performance/speed
webparts_Connection Zone