Marcel2586
Registered User.
- Local time
- Today, 02:15
- Joined
- Mar 1, 2012
- Messages
- 41
Hello all,
I need to calculate a start date to a day number.
Lets say start date is 01-01-2012 corresponding to day one of the year.
And end date is 10-03-2012 corresponding to day 70 of the year.
I need this calculation in a query where i have a start date field and a end date field. we work with day numbers. so a part with day number 10 has more priority than a part with a day number of 14. how can i get this to work?
I used this from access help =Format(Now(), "y")
But it gives me a error
Also keeps this formula into account February 29? (leap year)
I would appreciate a sample so i can figure out how it works and use it for my own database.
Greetings,
Marcel.
I need to calculate a start date to a day number.
Lets say start date is 01-01-2012 corresponding to day one of the year.
And end date is 10-03-2012 corresponding to day 70 of the year.
I need this calculation in a query where i have a start date field and a end date field. we work with day numbers. so a part with day number 10 has more priority than a part with a day number of 14. how can i get this to work?
I used this from access help =Format(Now(), "y")
But it gives me a error
Also keeps this formula into account February 29? (leap year)
I would appreciate a sample so i can figure out how it works and use it for my own database.
Greetings,
Marcel.