-
Notifications
You must be signed in to change notification settings - Fork 1
string_from_time
Hyomoto edited this page Jun 13, 2021
·
2 revisions
Jump To | Go Back |
Arguments |
---|
Returns: string
Throws: InvalidArgumentType
Given a number of seconds, formats the time using the given formatting string. If seconds is not a number, or format is not a string, InvalidArgumentType will be thrown.
string_from_time( 2410623, "$H hours $M.MM minutes" );
Output: 669 hours 37.05 minutes
Name | Type | Purpose |
---|---|---|
seconds | real |
The number of seconds to convert |
format | string |
The format to use |
Devon Mullane 2020