how to get the milli seconds from date in sun unix

hi all
how do we get the milli seconds in sun unix?

i am using
date +%Y%m%d%H%M%S
to get the unique id and create the file based on this.

but the problem is that if process to load the table takes only less than 1 sec i am getting errror on my table which have the primary key.

how do i get the milli seconds portion of the date in sun unix. i need to use this shell program.

any help is greatly appreciated.

thanks

how to get system time in microseconds

thanks for the reply.

You mean to say use java programming.

I am looking something with in shell script itself.

thanks