Determining the DOM

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

Can anybody tell me how to determine what day of the
month we are on ie is there a function which will return
a number that represents the 5th day of the month for
instance. Also is there a way of determining if that day
is a weekday.

Why do I want to do this you ask, well I have several
reports which need to be run say on the 3rd working day
of the month or maybe the 5th day of the month and it
would be fantastic if I could somehow determine if we are
at that point in the month and trip a trigger to remind
me.

Thank for any help suplied in advance

Andy (Perth Australia)
 
Weekday(Date()) will return 1-7. There is an optional argument to define the
first day of the week.

Day(Date()) will return the day of the month.
 
Back
Top