desof Well-Known Member Licensed User Longtime User Mar 31, 2014 #1 Hello I am writing in a database and I need a date format is well! dd / mm / yyyy and I am using B4X: (Datetime.date (DateTime.Now)) but in the database I write it in this format: mm / dd / yyyy How can I fix this?
Hello I am writing in a database and I need a date format is well! dd / mm / yyyy and I am using B4X: (Datetime.date (DateTime.Now)) but in the database I write it in this format: mm / dd / yyyy How can I fix this?
klaus Expert Licensed User Longtime User Mar 31, 2014 #2 MM/dd/yyyy is the default date format. Set it to DateTime.DateFormat = "dd/MM/yyyy" Be aware that mm is for minutes and MM is for months ! Upvote 0
MM/dd/yyyy is the default date format. Set it to DateTime.DateFormat = "dd/MM/yyyy" Be aware that mm is for minutes and MM is for months !
desof Well-Known Member Licensed User Longtime User Mar 31, 2014 #3 Ok! Klaus Muchas Gracias !! Upvote 0