C# rescue Day of date from Date column in datatable

Hi Experts

i have this column of datatable that loaded from stored procedure.
i don't know in which format the client will use DMY or MDY
and i want to rescue the day property of the date.
i take it to immediate window and i cnt find a way to rescue the properties.

{20/04/2001 00:00:00}
    Date: {20/04/2001 00:00:00}
    Day: 20
    DayOfWeek: Friday
    DayOfYear: 110
    Hour: 0
    Kind: Unspecified
    Millisecond: 0
    Minute: 0
    Month: 4
    Second: 0
    Ticks: 631233216000000000
    TimeOfDay: {00:00:00}
    Year: 2001

please help

Who is Participating?
DhaestConnect With a Mentor Commented:
What exactly do you require ? Do you want the day from that datetime ?

gudidiAuthor Commented:
10x a lot
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.