• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

looking for equivalent VB.net statement for excel dateserial

This is the excel VBA  statement.
Thenumber  = DateSerial(Year(Date), Month(Date), 1)

What is the VB.net equivalent.

Thank you.
1 Solution
it should be the same. Make sure you include the Microsoft.VisualBasic.DateAndTime namespace.
peispudAuthor Commented:
Thank you very m;uch
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now