Date Problem

Results 1 to 2 of 2

Thread: Date Problem

  1. #1
    Join Date
    Dec 1969

    Default Date Problem

    Hi<BR>I have a problem. I get date from database like this 12/12/2000 and what i need to do is to decrease date 2 days so it would look like this 12/10/2000<BR>how can i do that?<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: Date Problem

    OKay... set a variable equal to that date... something like dDate... so you would actually have dDate = "12/12/2000"<BR><BR>Then you could use the code below to remove two days.<BR><BR>-----<BR><BR>DateAdd("d", -2, dDate)

Posting Permissions

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