Returns the Day Of Month value from TheDateTime value according to the current Calendar culture.

The GetDayOfMonth method converts the ticks value in TheDateTime (1 tick = 0.0000001 seconds since 1st Jan 0001 AD) into an internal representation of years, months, days according to the Calendar culture. It then returns the Day of month value according to this culture.

For example, in the Hebrew Calendar, there are between 353 and 355 days per common year, and 383 to 385 days in a leap year.