I am trying to get current system time in millisecs and am using the below code.
long currentTime = System.currentTimeMillis();
However, it gives me some different value (it appears it calculates number of millisecs that have passed since 1 Jan '1970)
I want to calculate the time in millisecs for only the single day e.g. Time 13:06should give me value as ((13*60*60) + (06*60))*1000 millisecs
Is there any standard java function that can help.