Solved

looking for equivalent  VB.net statement for excel dateserial

Posted on 2015-01-07
2
121 Views
Last Modified: 2015-01-10
This is the excel VBA  statement.
Thenumber  = DateSerial(Year(Date), Month(Date), 1)

What is the VB.net equivalent.

Thank you.
0
Comment
Question by:peispud
2 Comments
 
LVL 24

Accepted Solution

by:
mankowitz earned 500 total points
ID: 40537050
it should be the same. Make sure you include the Microsoft.VisualBasic.DateAndTime namespace.
0
 

Author Closing Comment

by:peispud
ID: 40541835
Thank you very m;uch
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now