Data conversion

More
7 years 8 months ago #14247 by alex
Data conversion was created by alex
Hi,

I am new to this, I have a data set with a field time format of "hh:mm:ss" and I would like to convert it seconds ONLY.

For example: 00:01:20 should return to 80

Thanks,
Alex

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #14255 by Peter.Jonson
Replied by Peter.Jonson on topic Data conversion
What you have to do is split values using : as delimiter
than multiply hours by 3600, minutes by 60 and add all of them together


Peter Jonson
ETL Developer
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #14256 by alex
Replied by alex on topic Data conversion
Thank you for quick reply, I have never thought that it is so simple. :)

Please Log in or Create an account to join the conversation.