CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2000
    Posts
    7

    how do i get the week number ?

    hello,

    are there functions that would give you a week number from a given date ?
    thank you for any help.

    Tran.


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: how do i get the week number ?

    You sure would think so, being as there are functions for WeekDay, WeekDayName, Month, Year, Minute, Hour and Second, but someone missed the boat for returning the number of the week.

    If you find one, please let me know.

    John

    John Pirkey
    MCSD
    www.ShallowWaterSystems.com
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  3. #3
    Join Date
    Sep 1999
    Posts
    202

    Re: how do i get the week number ?

    Try in debug window:
    ? Format(Date, "ww")


  4. #4
    Join Date
    Feb 2000
    Posts
    7

    Re: how do i get the week number ?

    thank you, it works great !!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured