c# get Use HH for 24 hour hours format datetime

 DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")

留言