若要轉譯上周的時間,請Razor 使用下列標記:. CSHTML 複製. <p>Last week this time: @(DateTime.Now - TimeSpan.FromDays(7))</p>.
確定! 回上一頁