import java.util.Date;
String tstamp = getUnixTime(new Date())+"";
public static long getUnixTime(Date date)
{
if( null == date )
{
return 0;
}
return date.getTime()/1000;
}
import java.util.Date;
String tstamp = getUnixTime(new Date())+"";
public static long getUnixTime(Date date)
{
if( null == date )
{
return 0;
}
return date.getTime()/1000;
}