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

Converting date to week

Status
Not open for further replies.

Luhrern

Technical User
Jul 26, 2002
6
0
0
NO
In a query I am using a date field with the following format 07.11.2002 - I want to convert this to week e.g. 45.2002. Is this possible, and what functions are useful ?

Regards

Luhrern
 
Hi there,

try using an expression like this:

format([date_field],"ww") & "." & year([date_field])

The "ww" part of the format function returns a number between 1 and 53.

hope this helps
Cheers,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top