Home > Net >  remove time and timezone from DateTimeOffset
remove time and timezone from DateTimeOffset

Time:05-26

my goal => 5/26/2022 but I can't remove time from date. => 5/26/2022 12:00:00 AM

How can I remove the time without using ToShortDateString()?

Value.Date.ToShortDateString()

Example; enter image description here

  • Related