# How to get workflow execution start and end time with milliseconds?

**URL:** <https://community.temporal.io/t/how-to-get-workflow-execution-start-and-end-time-with-milliseconds/6466>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [November 14, 2022, 3:34am UTC](https://community.temporal.io/t/how-to-get-workflow-execution-start-and-end-time-with-milliseconds/6466 "2022-11-14T03:34:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aswath\_Murugan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/aswath_murugan/32/162_2.png) [@Aswath\_Murugan](https://community.temporal.io/u/Aswath_Murugan)\
**Post date:** [November 14, 2022, 3:34am UTC](https://community.temporal.io/t/how-to-get-workflow-execution-start-and-end-time-with-milliseconds/6466/1 "2022-11-14T03:34:48Z")

</div>

Hi Team  
Is it possible to get the workflow execution and activity time with milliseconds? Currently am using WorkflowExecutionInfo it has only workflowExecutionInfo.getStartTime().getSeconds()

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [November 14, 2022, 4:10am UTC](https://community.temporal.io/t/how-to-get-workflow-execution-start-and-end-time-with-milliseconds/6466/2 "2022-11-14T04:10:46Z")

</div>

> Currently am using WorkflowExecutionInfo it has only workflowExecutionInfo.getStartTime().getSeconds()

You could use `com.google.protobuf.util.TimeStamps` util, for example:

`Timestamps.toMillis(workflowExecutionInfo.getStartTime())`

> activity time with milliseconds

can you give more info on this?
