Possible Duplicate:
Get GMT Time in Java
I have taken the reference of the below 2 link :
But I want the GMT date in milliseconds.
Thanks In Advance.
You can use System.currentTimeMillis() it returns "the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC."
long time = System.currentTimeMillis();
Will do it :)