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!

Return the week and month of year

Status
Not open for further replies.

amal1973

Technical User
Jul 31, 2001
131
0
0
US
I have a date filed in an access report , i would like to find a function or something that will take the date value and return a string that tells the week number and the month's name ...

appreceate any help
 
You should be able to use the format function as in:
Code:
format(datefieldname, "ww/yyyy")

The ww is the code for the week number and the yyyy is for the 4 digit year. You can put any format in the "" like ww-yyyy or ww yyyy, etc.

Search for the Format function for more information.

Hope that helps.


DreamerZ
simplesolutions@prodigy.net
[ignore][/ignore]
 
thanks for your soulotion , it got me closer to what i need .
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top