Tag Archives: Sunday

Print a calendar in C#

This example prints a calendar containing some text for each day. It’s mostly a matter of keeping track of where to draw things, but it also requires you to handle some confusing internationalization issues and there’s one potential gotcha. The … Continue reading

Posted in internationalization, system | Tagged , , , , , , , , , , , , , , | 2 Comments

Get the name of the first day of the week in C#

Different cultures start the week with a different first day of the week. For example, some cultures start the week with Monday and others start it with Sunday. Usually it doesn’t matter which day is the first day of the … Continue reading

Posted in internationalization, system | Tagged , , , , , , , , , , , , , | 2 Comments