If you want the actual DAY (Monday, Tuesday) for the given day:


DayOfWeekAsString(Now()) - will give you Monday, Tuesday, etc...


DayOfWeek(Now()) - will give you:
1 - Sunday
2 - Monday
..
..
7 - Saturday


Day(Now()) - will give you the actually day of the month as a numeric
such as for today it would be 13 since today is May 13th.

-----Original Message-----
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 11:06 AM
To: CF-Talk
Subject: days of the month

I'm writing an event calendar:
http://hhp.umd.edu/HHPv1/hhp_index.cfm

I need to determine the day numbering.  It would seem that I need the
number of days in the month and the DAY that 'day1' begins on (thurs,
fri, etc.) so I can fill the predecessors with blanks.  I'll also
need to determine this for future/other months.
I guess I'll need to determine the DAY for each date too, so I can
designate them with a 'weekend' color.

Are there possibly general calendar tutorials that would use the same
information?

Am I missing anything else?

thanks.

--
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to