Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code to take Date() and resolve month as number

Status
Not open for further replies.

newbee2

Technical User
Apr 21, 2002
85
0
0
Hello,
I once had a copy of the way to take a date and from it resove the month as a number.
so if I have dd/mm/yyyy or that Date() function I can get the month as a number.
Can anyone be kind and help me again.
Kind Regards
Bill
 
Another way is to use the Month function.

intMonth = Month(Date())
----------------------
scking@arinc.com
Life is filled with lessons.
We are responsible for the
results of the quizzes.
-----------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top