seconds_to_time


Description:


public string seconds_to_time (int seconds)

Converts seconds into the ISO 8601 standard date format for minutes (e.g. 100s to 01:40). Output of negative seconds is prepended with minus character.

Parameters:

seconds

the number of seconds to convert into ISO 8601

Returns:

returns an ISO 8601 formatted string


Namespace: Granite.DateTime
Package: granite



2022 vala-language.org