what day is ... date fall on

Results 1 to 3 of 3

Thread: what day is ... date fall on

  1. #1
    Join Date
    Dec 1969

    Default what day is ... date fall on

    Hi,<BR><BR>I have a page where a user selects a date dd / mm / yy from 3 drop-downs. On the next page I want to confirm by saying "you have booked tickets for Saturday 3rd March", working out what day the selected date falls on. Is there an easy way to do this?

  2. #2
    Yngvar Guest

    Default RE: what day is ... date fall on

    Try this<BR><BR>intDay = weekDay(yourDate,[firstDayofweek]) 1 is Sunday and so on<BR>This returns a number representing the day of the week where 1 is Sunday...<BR><BR>strDay = weekDay(intDay,[Abrivate] True or False,[firstDayofweek])<BR><BR>Thats it...

  3. #3
    Yngvar Guest

    Default RE: Correction

    strDay = weekDay(intDay,[Abrivate] True or False,[firstDayofweek])<BR><BR>This line should be.<BR><BR>strDay = weekDayName(intDay,[Abrivate] True or False,[firstDayofweek])<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts