Advertise with us
Control Panel
Forum
Hosting Help
ASP.NET 4.5 & SQL 2012 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
Home
»
Resources
»
Function EndOfMonth
ASP.NET
ADO.NET
Web Services
Remoting
Visual Studio 2005
Error Bank
Interview Questions
Tips & Tricks
XML
HTML
Jscript/Javascript
IIS
Windows
General
Submit Resource or code snippet
... and get
surprise gifts
Win Digital camera, ASP.NET Books, Free softwares!!
Function EndOfMonth
26 Dec, 2008
Author:
tigonsoft
Summary
Function EndOfMonth
.NET Classes used :
Public Shared Function ToEndOfMonth(ByVal dt As Object) As DateTime
Dim tmpDate As DateTime
Try
tmpDate = System.DateTime.Parse(dt.ToString())
Return DateSerial(Year(tmpDate), Month(tmpDate) + 1, 1).AddDays(-1)
Catch
Return DateTime.MinValue
End Try
End Function
Feedbacks about this page from members:
- No Feedbacks yet !! -
Submit Feedback
View All Feedbacks
Total
members
:
250906
Average new registrations per day (in last 7 days):
11
New Registration:
Open
Register Now
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.