# Working with print commands and snippets ![Screen Capture](./printCommands.gif) I use the journal daily to track my time spent on various projects. You can use the following commands (and shortcuts) to compute the duration between two timestamps or to print the sum of various numbers. * `Print Time` to enter timestamps at cursor position. * `Print elapsed hours`, which computes the duration between two selected timestamps (same format as what "Insert time" prints). Select both timestamps with `Alt+Click`, then press `Ctrl+J D` (`Cmd+J D` on Mac). * `Print sum of selected numbers`, which summarizes all selected numbers (I use it to compute the total time). Select the numbers with `Alt+Click`, then press `Ctrl+J S` (`Cmd+J S` on Mac). --- → [Commands](./commands.md) · [Settings](./settings.md)