Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 289603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:55:18+00:00 2026-05-12T05:55:18+00:00

I have a report that has parameters StartDate and EndDate . I would like

  • 0

I have a report that has parameters StartDate and EndDate. I would like the EndDate parameter’s time part to default to the end of the day when selected from the drop down.

For instance, if a user selects 5/15/2008 from the dropdown, the value shown in the box should be ‘5/15/2008 23:59:59‘ not ‘5/15/2008 12:00:00‘

Its pretty easy to do this in .Net using the event model and a line of code but in Report Builder 2.0, what would I need to do?

Is there code that I need to write for this or did I miss some funky expression that could handle this?

Thanks.

AboutDev

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:55:19+00:00Added an answer on May 12, 2026 at 5:55 am

    It’s been awhile since I’ve used SSRS, so bear with me. You’ll have to do a little translation, but here’s what I’ve done in the past.

    When you define your EndDate parameter, create an additional parameter named EndDateEOD, after EndDate in your list of parameters. Make this parameter a hidden value, and set it to the last moment of the day, similar to the way that Jeremy calculates it.

    Then you can use @EndDateEOD in your report query where you have @EndDate now.

    When StartDate is selected, you could have EndDate default to its value, so that EndDateEOD will automatically be set to the end of the start date.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SSRS 2005 report that has a number of images in it.
I have a Crystal Report that looks like: Date | Person | Ticket |
I have two report parameters that were set up automatically when I created their
I have a report that uses a TChart that I am maintaining. One of
I have a report that renders data returned from a stored procedure. Using profiler
I have a report that is used by a windows service and a form
I have a report that I created with Crystal Reports 2008. This report uses
I have a web report that uses a Django form (new forms) for fields
I have a SQL Report that insists on printing an extra blank page at
I have a simple report that I want to export to a CSV file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.