CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Posts
    1

    Specific time frame

    I need to create a Crystal Report that pulls tickets from the database based on date and time received. Specifically, I need to pull tickets that were received from 5pm the previous day to 5pm the current date. I know how to get the dates but the getting the times is where I am having difficulty. Any help is greatly appreciated, thank you.

  2. #2
    Join Date
    May 2006
    Posts
    324

    Re: Specific time frame

    Look at the help on DateAdd and DateSerial.

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

Featured