Date - Need Number For Day In Calendar Year

P

Paperback Writer

I need a query that will display what number a particular day is in the
calendar year.

Example:
January 1, 2008 = 1
February 1, 2008 = 32
March 1, 2008 = 61
April 1, 2008 = 92

I prefer this to be in the form of an expression.

Using Day([DATE FIELD]) only displays the number of days by calendar month.

THANK YOU!!
 
S

Stefan Hoffmann

hi,

Paperback said:
I need a query that will display what number a particular day is in the
calendar year.
I prefer this to be in the form of an expression.
Use this "simple" date calculation:

[DATE FIELD] - DateSerial(Year([DATE FIELD]), 1, 1)


mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top