Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get the week number ?

Posted on 1998-10-26
1
Medium Priority
?
133 Views
Last Modified: 2010-04-30
Hi

How to get the week number in Visual basic ??
I have some jobs handle date and weeknumber but i dont found  any function to get the week number (1 to 52 or 53).

Thanks
0
Comment
Question by:didede
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 150 total points
ID: 1441620
Use the format function :

 Format(now, "ww")
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question