Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to insert date in below format in sqlite through android:
11 Oct 2012 15:40
Please help me how to achieve this??
use this code
SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy HH:mm"); // date is Object of Date class of java.util String s = formatter.format(date); // now you can save 's' to the sqlite.