How to get only Month from date-part?

 Posted by vishalneeraj-24503 on 12/22/2013 | Category: VB.NET Interview questions | Views: 1039 | Points: 40
Answer:

With the help of Month in-built function,we can get Month part from date-part.

It also returns Integer Value.

For Example:-

MsgBox(Month(Now()))


It will return current month in number
i.e. 12 as 12 is a December.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response