Recently, I need to get a weekday purely based on date. Luckily, I find a mathematical way to solve this problem. In this example, it will load the weekday in the TextBox1
.
1 | protected void Page_Load(object sender, EventArgs e) |
Recently, I need to get a weekday purely based on date. Luckily, I find a mathematical way to solve this problem. In this example, it will load the weekday in the TextBox1
.
1 | protected void Page_Load(object sender, EventArgs e) |
Unless specified, all the articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
It uses a self-hosted Open Web Analytics to get insights. Click here to optout.
The site is powered by Hexo. The source code of this website is here, so that you can see the spaghetti code behind my blog.