How to find which day of the week, this year, a birthday fall?

  • Follow


Hello:

I have a database with employee birthdays.  (I enter all the birthdays as 
mm/dd/1900 so no one knows how old anyone is.)  I have a query I use to 
inform the managers what birthdays are upcoming in their department.  It so 
happens that 2007 had the same calendar as 1900 so I didn't realize I wasn't 
pulling the day of the week the birthday falls for the current year.

Is there an expression I need to build or a particular format I need to set? 
 I was using the number format dddd, mm/dd.

Thanks.
0
Reply Utf 1/3/2008 4:41:05 PM

Using DOB as the employee's birthday:
Format(DateSerial(Year(Date),Month(DOB),Day(DOB)),"dddd")
-- 
Dave Hargis, Microsoft Access MVP


"Victoria@DIG" wrote:

> Hello:
> 
> I have a database with employee birthdays.  (I enter all the birthdays as 
> mm/dd/1900 so no one knows how old anyone is.)  I have a query I use to 
> inform the managers what birthdays are upcoming in their department.  It so 
> happens that 2007 had the same calendar as 1900 so I didn't realize I wasn't 
> pulling the day of the week the birthday falls for the current year.
> 
> Is there an expression I need to build or a particular format I need to set? 
>  I was using the number format dddd, mm/dd.
> 
> Thanks.
0
Reply Utf 1/3/2008 5:02:04 PM


It worked!  Thanks.

"Klatuu" wrote:

> Using DOB as the employee's birthday:
> Format(DateSerial(Year(Date),Month(DOB),Day(DOB)),"dddd")
> -- 
> Dave Hargis, Microsoft Access MVP
> 
> 
> "Victoria@DIG" wrote:
> 
> > Hello:
> > 
> > I have a database with employee birthdays.  (I enter all the birthdays as 
> > mm/dd/1900 so no one knows how old anyone is.)  I have a query I use to 
> > inform the managers what birthdays are upcoming in their department.  It so 
> > happens that 2007 had the same calendar as 1900 so I didn't realize I wasn't 
> > pulling the day of the week the birthday falls for the current year.
> > 
> > Is there an expression I need to build or a particular format I need to set? 
> >  I was using the number format dddd, mm/dd.
> > 
> > Thanks.
0
Reply Utf 1/3/2008 5:58:04 PM

Glad I could help.
-- 
Dave Hargis, Microsoft Access MVP


"Victoria@DIG" wrote:

> It worked!  Thanks.
> 
> "Klatuu" wrote:
> 
> > Using DOB as the employee's birthday:
> > Format(DateSerial(Year(Date),Month(DOB),Day(DOB)),"dddd")
> > -- 
> > Dave Hargis, Microsoft Access MVP
> > 
> > 
> > "Victoria@DIG" wrote:
> > 
> > > Hello:
> > > 
> > > I have a database with employee birthdays.  (I enter all the birthdays as 
> > > mm/dd/1900 so no one knows how old anyone is.)  I have a query I use to 
> > > inform the managers what birthdays are upcoming in their department.  It so 
> > > happens that 2007 had the same calendar as 1900 so I didn't realize I wasn't 
> > > pulling the day of the week the birthday falls for the current year.
> > > 
> > > Is there an expression I need to build or a particular format I need to set? 
> > >  I was using the number format dddd, mm/dd.
> > > 
> > > Thanks.
0
Reply Utf 1/3/2008 6:01:02 PM

3 Replies
475 Views

(page loaded in 0.038 seconds)

Similiar Articles:
















7/24/2012 1:06:44 PM


Reply: