Hello,
I have to retrieve the day name by the absolute date. e.g. Today is 11/17/2008, so I need that this function(?) will retrieve "Monday".
Currently I'm using
which makes the work only if I use "English" as may regional language (it returns Sun/Mon/Tue etc.). This code doesn't work on other languages, in hence I'm looking for another function that can calculate the day by the date, and always returns its name in English. I'm planning my app to be multi-language.
If you know about such function - please let me know.
Many thanks!
I have to retrieve the day name by the absolute date. e.g. Today is 11/17/2008, so I need that this function(?) will retrieve "Monday".
Currently I'm using
Code:
Dim day As String = DateTime.Today.ToString("ddd")
If you know about such function - please let me know.
Many thanks!