I am working on an application in which I have got date and time from similar dialog.
I have all this variable of type integer.
Now I have to convert this all variables in to the epoch time.
It is very important for me.
Is there any way to do this?
I am working on an application in which I have got date and time
Share
You can use Calendar Class, you must instantiate a new Calendar Object, set MONTH,DAY,YEAR,HOUR,MINUTE and SECOND and then use getTime() method.