'C-Sharp DateTime Culture format for SQL Date-Format

Is there a culture for this date-format?

2022-03-08 23:59:59

Or do I have to do this manualy with .ToString()?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source