Skip to content

Fixing issue #717 - Get the total second from mm:ss format#781

Open
spneshaei wants to merge 2 commits intomalcommac:masterfrom
spneshaei:issue747
Open

Fixing issue #717 - Get the total second from mm:ss format#781
spneshaei wants to merge 2 commits intomalcommac:masterfrom
spneshaei:issue747

Conversation

@spneshaei
Copy link

Fixing issue #717 - Now one can use .totalSeconds property on Date to get the total number of seconds from the provided time, assuming the hour, minute, and second fields are properly initialized.

As an example, calling .totalSeconds on 4:23:11 will return 15791.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant