C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






DateTime Manipulation in vb.net–Part 4


Posted Date: 18 Aug 2008    Resource Type: Articles    Category: .NET Framework

Posted By: D.Jeya kumar(JK)       Member Level: Diamond
Rating:     Points: 7



OLE Automation Date


An OLE Automation date is a floating-point number. If we give a value in numbers then it will give the Date. FromOADate will be used to get the OLE Aumation date.

Syntax
DateTime.FromOADate(Double) return type is date


MsgBox(DateTime.FromOADate(7)) will return 1/6/1900
MsgBox(DateTime.FromOADate(8)) will return 1/7/1900


Today Date

To get the Current Date and Time of the Local system we can use the

Syntax:

Today() will return today culture Date
Now() will return Today local culture date and time

Example


MsgBox(DateTime.Today())
MsgBox(DateTime.Now())






Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
DateTime Manipulation in vb.net  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Easy steps to learn Java script
Previous Resource: .NET Assembly
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

accuconference

Contact Us    Privacy Policy    Terms Of Use