android - Get Current System Time -


how current system's time , date without using calender.getinstance()?

try

date d = new date(); charsequence s  = dateformat.format("eeee, mmmm d, yyyy ", d.gettime()); 

you can edit format string like..


Comments

Popular posts from this blog

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -