67biscuits
Member
What am I missing in this equation?
Why or how does the date change from May 22 to Dec 30?
B4X:
Sub makeWD
strD = $"${ms}/${ds}/${ys}"$
DateTime.DateFormat = "MM/dd/YYYY"
Log(strD) 'output: 05/22/2025
WD = DateTime.DateParse(strD)
Log(DateTime.Date(WD)) 'output: 12/30/2025
End Sub