Can you help me with this error

Results 1 to 2 of 2

Thread: Can you help me with this error

  1. #1
    Join Date
    Dec 1969
    Posts
    940

    Default Can you help me with this error

    I am trying to set the first day of the week to "Monday" instead of the default of "Sunday". Can you help me Please.<BR><BR><BR>Microsoft VBScript compilation error &#039 800a03ee&#039 <BR><BR>Expected &#039)&#039 <BR><BR>/atc/koala/scripts/searchleadsresultsinc.asp, line 26 <BR><BR>test1=DatePart("w", date[, firstdayofweek[, firstdayofyear]])<BR>------------------------^<BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    940

    Default Nevermind, I Got It

    it was very simple, I think I was just trying to hard.<BR><BR>Here is the simple solution:<BR>This returns the current day of the week with the first day of the week being Monday.<BR><BR>test1=datepart("w",Q8,2)

Posting Permissions

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