How to get millisecond time from a date? I have the following code.
Date beginupd = new Date(cursor1.getLong(1));
This beginupd variable contains the format
Wed Oct 12 11:55:03 GMT + 05: 30 2011
Now, how to convert this format in millisecond to Long datatype? Any help is greatly appreciated and thanks in advance ...
java android
poovi.org 12 Oct '11 at 5:35 2011-10-12 05:35
source share