dateadd() function

Results 1 to 2 of 2

Thread: dateadd() function

  1. #1
    rob Guest

    Default dateadd() function

    Could someone please explain to me just what exactly is happening with the datadd() function within this code:<BR><BR>if Request.Querystring("ThruDate") &#060;&#062; "" then<BR> m_dThruDate = Request.Querystring("ThruDate")<BR> sSQL = sSQL & " c.LogDate &#060;= &#039" & dateadd("s",-1,dateadd("d",1,m_dThruDate)) & "&#039 AND"<BR> end if<BR><BR>Thanks.....

  2. #2
    Join Date
    Dec 1969
    Posts
    34

    Default RE: dateadd() function

    it is adding one day to thrudate , then taking away one second from it

Posting Permissions

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