在视图中使用时间

@DataTime.Now.ToString("yyyy-MM-dd");

原文地址:https://www.cnblogs.com/mrxiaohe/p/5282553.html