原创 SQL 時間格式函數

 1 取值後格式化{0:d}小型:如2005-5-6{0:D}大型:如2005年5月6日{0:f}完整型 2 當前時間獲取 DateTime.Now.ToShortDateString 3 取值中格式化SQL Server裏面可能經常會用