# Workflow Obtaining Knime Server Job Timestamp

**URL:** <https://forum.knime.com/t/workflow-obtaining-knime-server-job-timestamp/82808>\
**Category:** KNIME Server\
**Created:** [September 6, 2024, 6:31pm UTC](https://forum.knime.com/t/workflow-obtaining-knime-server-job-timestamp/82808 "2024-09-06T18:31:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![philcremer](https://forum-cdn.knime.com/user_avatar/forum.knime.com/philcremer/32/76829_2.png) [@philcremer](https://forum.knime.com/u/philcremer)\
**Post date:** [September 6, 2024, 6:31pm UTC](https://forum.knime.com/t/workflow-obtaining-knime-server-job-timestamp/82808/1 "2024-09-06T18:31:37Z")

</div>

Hi Knime,

I’m running jobs off the time Knime Server. As a job runs on the server, you’ll see the workflow name and a date&time stamp. I have not been able to get that date&time so it can be used in the workflow.

I’ve tried using the Date&Time Widget at the head of my workflow. That only gives me the time the node was activated. There seems to be a 2-3 second delay between workflow start-time and reaching that first node.

Any suggestions on how to obtain that workflow run-date&time created by Knime Server (I’m guessing) from within the workflow?

Thanks in advance,  
Phil

---

<div class="post-metadata">

**Author:** ![marvin\_kickuth](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marvin_kickuth/32/24811_2.png) [@marvin\_kickuth](https://forum.knime.com/u/marvin_kickuth)\
**Post date:** [September 12, 2024, 8:43am UTC](https://forum.knime.com/t/workflow-obtaining-knime-server-job-timestamp/82808/2 "2024-09-12T08:43:06Z")

</div>

Hi Phil,

Interesting question. I’m curious what the use-case behind this is.  
Generally, the timestamp in the name is created by KNIME Server (not the executor running the job), which explains the few seconds time shift. This is the job’s default name, if not specified otherwise during the creation of the job (and always uses the UTC time zone if I recall correctly). The timestamp is only there for distinction and isn’t really intended to be used in further processing.

However, it is technically possible to retrieve the job’s name by extracting the job ID ([Extract Context Properties node](https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.io.extractcontextprop.ReadContextProperty2NodeFactory)) and then making a REST call to the server (`GET /rest​/v4​/jobs​/{job-id}`), but again, this wasn’t really a use-case we had in mind. We would be happy to understand the situation better and maybe provide something more user-friendly in the future. 🙂

Kind regards  
Marvin

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [December 11, 2024, 8:43am UTC](https://forum.knime.com/t/workflow-obtaining-knime-server-job-timestamp/82808/3 "2024-12-11T08:43:57Z")

</div>

Closed on December 11, 2024, 8:43am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
