-
-
Save TehShrike/351b9a8e5d7552b9cd36e19c4279aa9d to your computer and use it in GitHub Desktop.
Get daily totals out of Toggl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gotta remove spaces from the column names in the csv first | |
q -d , -H "SELECT Startdate, SUM(ROUND((((STRFTIME('%H', Endtime) * 60) + STRFTIME('%M', Endtime)) - ((STRFTIME('%H', Starttime) * 60) + STRFTIME('%M', Starttime)) * 1.0) / 60, 2)) FROM Toggl_time_entries_2018-01-16_to_2018-01-31.csv GROUP BY Startdate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment