Using the calendar object and get time in different formats. The best format to save , according to me is in milliseconds. That would make the retrieval of the same easier.
Thanks and Regards, Kumar Bibek On Mar 31, 1:14 pm, grace <[email protected]> wrote: > ya u can use the calendar for that > > On Mar 31, 11:45 am, perumal316 <[email protected]> wrote: > > > Hi All, > > > In my application I will be writing messages to a text file. When I am > > writing the messages I also want to include the time in it. > > > How do i write in the current date and time? Must I use Calendar now = > > Calendar.getInstance() ? > > > Thanks In Advance, > > Perumal -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

