Calculate EXCLUDING TIME

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • car6006
    New Member
    • Jun 2007
    • 2

    Calculate EXCLUDING TIME

    Can someone please help me with a simple code to exclude time from calculation

    eg:

    I have a date formatted dd/mm/yyhh:mm:ss data in csv file (call it column a & b)

    I want to exclude hours between 18:00 and 06:00 (basically night hours)

    I would like this in C#

    Much appreciated

    C
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    I'm not sure if I understand your question correctly...do you have two dates? And you want to find the difference, excluding a certain range?

    Comment

    Working...