hello im making an app that writes to a .txt file and at the end of each "save" i want to put the date and time.
this is my code that turns the time/date into a string. which works fine. SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss"); java.util.Date date = new java.util.Date(); final String datetime = dateFormat.format(date); The problem im having is every time i save the time does not update. each row has the same time and date? can anybody help? regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en