C# format格式對齊 1.24小時時間格式制定 按照2019-12-10-13-00-00格式輸出:string dtnow = string.Format("{0:yyyy-MM-dd-HH-mm-ss}", D ...