Created
March 3, 2015 17:55
-
-
Save codenamejason/9412ff5c0288f9f5e0ab to your computer and use it in GitHub Desktop.
Insert current date with razor syntax in .NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
var todaysDate = DateTime.Now.DayOfWeek.Year; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment