So, I'm trying to do this...
DatumRodjenja_d b = DatumRodjenja.S ubstring(6, 4) & "-" & DatumRodjenja.S ubstring(3, 2) & "-" & DatumRodjenja.S ubstring(0, 2)
Where DatumRodjenja_d b is DateTime variable, and DatumRodjenja is String. And even after that, I'm still getting DatumRodjenja_d b in this format "DD.MM.YYYY ."
The thing is I need date in "YYYY-MM-DD" format because that's how I store it into database.
I suppose this is some kind of problem in CultureInfo but still I can't figure it out...thank you.
DatumRodjenja_d b = DatumRodjenja.S ubstring(6, 4) & "-" & DatumRodjenja.S ubstring(3, 2) & "-" & DatumRodjenja.S ubstring(0, 2)
Where DatumRodjenja_d b is DateTime variable, and DatumRodjenja is String. And even after that, I'm still getting DatumRodjenja_d b in this format "DD.MM.YYYY ."
The thing is I need date in "YYYY-MM-DD" format because that's how I store it into database.
I suppose this is some kind of problem in CultureInfo but still I can't figure it out...thank you.
Comment