Connecting Tech Pros Worldwide Forums | Help | Site Map

Count Days

jpr
Guest
 
Posts: n/a
#1: Jun 19 '06
Is there a way I can count days?
I would like to place a control on my form that counts the days from
the first day of each year.
THanks.


Rick Brandt
Guest
 
Posts: n/a
#2: Jun 19 '06

re: Count Days


jpr wrote:[color=blue]
> Is there a way I can count days?
> I would like to place a control on my form that counts the days from
> the first day of each year.
> THanks.[/color]

=DatePart("y", Date())

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Svetlana
Guest
 
Posts: n/a
#3: Jun 19 '06

re: Count Days


You can use the function DateDiff("d", StartDate, EndDate)

Closed Thread