Hello guys,
I know this been discussed here quite a few times, but I still am unable to format an SQL date field as I desire, it keeps showing me the date as yyyy-mm-dd...
I tried the following code and the result is always the same: yyyy-mm-dd
What am I doing wrong?
BTW, do I have to explicitly code DateTime.DateFormat = something whenever I want a given format?
I was expecting a more straightforward thing like mydatefield = formatdate(db_field_date, "my format")... Any ideas?
I know this been discussed here quite a few times, but I still am unable to format an SQL date field as I desire, it keeps showing me the date as yyyy-mm-dd...
I tried the following code and the result is always the same: yyyy-mm-dd
B4X:
DateTime.DateFormat = "dd/MM/yyyy"
wDataEvento = wRegistro(6) ' <== database DATE field
DateTime.DateFormat = "EEE, d ' de ' MMMMM ' de ' yyyy"
wDataEvento = wRegistro(6) ' <== database DATE field
What am I doing wrong?
BTW, do I have to explicitly code DateTime.DateFormat = something whenever I want a given format?
I was expecting a more straightforward thing like mydatefield = formatdate(db_field_date, "my format")... Any ideas?