Why do I get "Mittwoch" as result instead of "Dienstag" with this code?
B4X:
DefaultValue = "10/12/2013 22:12"
Dim d1()
d1 = Regex.Split(" ", DefaultValue)
DateTicks = DateTime.DateParse(d1(0))
Dim df As String = DateTime.DateFormat
DateTime.DateFormat = "EEEE"
Dim res As String = DateTime.Date(DateTicks)
Log("Heute ist: " & res)