Hello,
I need to get the name of a day.
I set the date with the http://www.b4x.com/android/forum/threads/wheelview-library.17028/#content library and I get a string result.
How I convert it to long and use
I need to get the name of a day.
I set the date with the http://www.b4x.com/android/forum/threads/wheelview-library.17028/#content library and I get a string result.
How I convert it to long and use
B4X:
Public Sub GetDayOfWeekName(Ticks As Long) As String
Dim df As String = DateTime.DateFormat
DateTime.DateFormat = "EEEE"
Dim res As String = DateTime.Date(Ticks)
DateTime.DateFormat = df
Return res
End Sub