bskotu555 Member Yesterday at 6:30 AM #1 B4A: Dim Tw As Long = DateTime.Add(DateTime.Now, 0, 0, -7) EditText2.Text =Tw EditText3.Text =DateTime.Date(DateTime.Now)
B4A: Dim Tw As Long = DateTime.Add(DateTime.Now, 0, 0, -7) EditText2.Text =Tw EditText3.Text =DateTime.Date(DateTime.Now)
aeric Expert Licensed User Longtime User Yesterday at 6:56 AM #2 Before returning the Date in String, set DateTime.DateFormat B4X: DateTime.DateFormat = "yyyy-MM-dd" EditText2.Text = DateTime.Date(Tw) Last edited: Yesterday at 7:23 AM Upvote 0
Before returning the Date in String, set DateTime.DateFormat B4X: DateTime.DateFormat = "yyyy-MM-dd" EditText2.Text = DateTime.Date(Tw)