I want date Difference in Crystal Report. RRS feed

  • Question

  • User555322487 posted
    Can you please help me with the calculaiton of two Date Time fields in Crystal reports
    have start date - DateTime attribute
    have end date - DateTime attrib
    find the differernce and give in 'dd:hh:mm:ss' format
     have been writing as follows:
    diffintime = (end date - start date)
    return string.Format ("{0}", diffintime)
    but i'm not getting any answer - i actually had the answer once, but did not save my work :(
    can you help me at all please?
    Monday, May 30, 2011 11:35 PM


  • User-1031349487 posted
    Hope below link is useful to you
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 31, 2011 1:07 AM