Convert seconds to compound duration: Difference between revisions

Content added Content deleted
 
Line 2,573: Line 2,573:
</pre>
</pre>


You could also convert nanoseconds to a langur duration. Langur durations use a separate count for years, months, days, hours, minutes, seconds, and nanoseconds.
You could also convert nanoseconds to a langur duration. Langur durations use a separate count for years, months, days, hours, minutes, seconds, and nanoseconds. A "month" and a "year" are difficult to define in terms of seconds, which is one of the reasons langur has a duration type.


=={{header|Liberty BASIC}}==
=={{header|Liberty BASIC}}==