Support Board
Date/Time: Sat, 25 Oct 2025 10:29:49 +0000
Post From: Convert HMS to MInutes
| [2020-09-13 11:03:52] |
| Graham - Posts: 44 |
|
Struggling to work this out using the SDDateTime() functionality. How can I convert the total time in HMS to just minutes. SCDateTime can extract any part of the time but I need to convert a variable that could be HMS or just MS to Minutes only. As an example, if the variable returns 01:56:00 (HMS) what would the code be to convert that to Minutes only, resulting in: 116. Thanks in advance. |
