Skip to content

ISO 8601 Data elements and interchange formats – Information interchange – Representation of dates and times is an international standard covering the exchange of date- and time-related data

Notifications You must be signed in to change notification settings

sujoyyyy/Human-Readable-Time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Human-Readable-Time

The module includes a function, which takes a non-negative integer (seconds) as input and returns the time in a human-readable format (HH:MM:SS)

HH = hours, padded to 2 digits, range: 00 - 99 MM = minutes, padded to 2 digits, range: 00 - 59 SS = seconds, padded to 2 digits, range: 00 - 59

The maximum time never exceeds 359999 (99:59:59). Code snippet for converting amount of time given by number of seconds into some human readable form. The function should receive a number and output a string like this: hh:mm:ss.

About

ISO 8601 Data elements and interchange formats – Information interchange – Representation of dates and times is an international standard covering the exchange of date- and time-related data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages