Hi i m new in B4A and i try to use date operation but it will give me wrong results???
dim dtn as long
DateTime.DateFormat = "yyyy/mm/dd"
dtn = DateTime.Now
log( datetime.date(dtn)) ' it will give for today 2018/18/31 not normally 2018/07/31?????
is it a bugg???? or i do some mistake????
Hery
1. Please use [code]code here...[/code] tags when posting code.
2. Your code is wrong, there is no bug here. Start a new thread in the questions forum for further discussion.
You just joined the forum. You cannot start making speedy remarks about bugs unless you have been around for a while, particularly when you are dealing with DATES and @Erel.