question

Alazne M avatar image
0 Likes"
Alazne M asked Jeanette F commented

how to change a Global Table column (in minutes) to date format

I have created a global table with time data of the items that go through different processors, they are saved in minutes because I do operations between the columns (subtract some times from others), the last column is in minutes and I want to convert it to hours /minutes/seconds format .

I have already determined the start at 8:00:00 and the table is created with the comma


how can i make that change

FlexSim 20.1.3
global tablewrite to global table
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Alazne M, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

eg. If your minutes field is called Mins in GlobalTable1 and the target column is 'HMS' of type string:

Table.query("UPDATE GlobalTable1 SET HMS=DateTime(minutes([Mins])).toString('%H:%M:%S')");
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.