I need to create a directory every week in the format week-mm-dd-yyyy to upload my files.
for the first week of month it should come as week 1
I used a script task and file system task to create the directory.
I am having issues in getting the week.
This is the .Net code I am using to get the day,month and year
Dts.Variables("User::dir").Value = "C:\test" + Date.Today.Date.ToString + Date.Today.Year.ToString _
+ Date.Today.Month.ToString + Date.Today.Day.ToString
with this code I am getting year month and day attached to the folder name
how do I get the week no?
Thanks a lot
↧