I would like to get the current date and put into hashmap so I can store it in a database. How do I do that?
For example:
Map<String, String> map = new HashMap<String, String>();{
map.put("Speed", speed.gettext.tostring());
map.put("date",currentdate());
}