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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format date

Status
Not open for further replies.

balistikb

Technical User
Nov 12, 2002
177
US
Hello all, I am trying to create a variable in a DTS that is a date. What I am doing is this:
Dim CurDate
CurDate = Date

What this gives me is the full date. What I would like to get is just the month and year like this 04/04
How do I format this?
Thank you
 
You can try the format command from VB, but since this is VB Script, I am not sure if it will work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top