Convert Datetimeoffset To String Function In C