How do I convert sysdate
to milisegundos
directly into Oracle?
I need to give the same result of the code below in java, but directly in query :
String s=df.format(Calendar.getInstance());
java.util.Date parsedUtilDate = df.parse(s);
java.sql.Timestamp timestamp = new java.sql.Timestamp(parsedUtilDate.getTime());
long timeInMilliSeconds = timestamp.getTime();