APM Java Agent: span and transaction duration?

I would like to ask if the span and transaction duration is in millisecond or microsecond.
The data I am getting seems to be in milliseconds, however, the field label says otherwise.
I am using ELK 6.5.1, APM Server 6.5.1 and APM Java Agent 1.0.1.
Thanks!

Never mind, I have checked in index management. The data is output as millisecond in dashboard.