Results 1 to 7 of 7

Thread: Datediff question (RESOLVED)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member cajsoft's Avatar
    Join Date
    Aug 2000
    Location
    Glasgow, Scotland
    Posts
    295

    Datediff question (RESOLVED)

    Hi,
    I am writing a small helpdesk utility and wish to report the number of calls resolved within seven days. The code below works great but I'd like to be able calculate the first day as monday. e.g, show all calls resolved from last monday

    anyone help me please?


    Code:
    if DateDiff("d",ors.fields("ResolvedDate"),now)<=7 then
    	    resolvedin  = resolvedin + 1
    end if
    Last edited by cajsoft; Jul 15th, 2004 at 03:51 AM.
    Craig Johnstone, MCP,CNA

    VB 6,SQL,Lotus Notes,Crystal Reports 7,8

    http://www.cajsoft.co.uk/downloads.htm

Posting Permissions

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



Click Here to Expand Forum to Full Width