String format time. Sqlcommand c# пример. string format. string.format("{0:d}". вывод данных через string formats.