# Smart Time Entry

When entering times in an event block, Ontime allows some shortcuts

| Note                                                                     | Entry                                            | Result                                                                      |
| ------------------------------------------------------------------------ | ------------------------------------------------ | --------------------------------------------------------------------------- |
| You can use the `h` `m` `s` keywords to facilitate time input            | 10h10s                                           | 10:00:10                                                                    |
| Ontime accepts `.` `,` `:` and `spaces` as separators between hh:mm:ss   | <p>0.1<br>0 1<br>0:1<br>0,1</p>                  | 00:00:01                                                                    |
| The keyword `p` returns the end time of the previous event               | p                                                | <p>(if previous event finishes at 09:00:00)<br>09:00:00</p>                 |
| Starting a time entry with a + sign, adds the time to the previous event | +10:10                                           | <p>(if previous event finishes at 09:00:00)<br>09:10:10</p>                 |
| A single numeric field is read as minutes                                | 10                                               | 00:10:00                                                                    |
| Two numeric fields are read as minutes:seconds                           | 1.2                                              | 00:01:02                                                                    |
| Tree numeric fields are read as hours:minutes:seconds                    | <p>1.2.3<br>1 2 3<br>1:2:3<br>1,2,3</p>          | 01:02:03                                                                    |
| When not using separators, ontime tries to infer                         | <p>1<br>12<br>123<br>1234<br>12345<br>123456</p> | <p>00:01:00<br>00:12:00<br>01:23:00<br>12:34:00<br>12:34:05<br>12:34:56</p> |
| Any time overflow is considered                                          | 0.120                                            | 00:02:00 (120 seconds)                                                      |
| 0 append is not necessary                                                | <p>2.2.2<br>2 2 2<br>2:2:2<br>2,2,2</p>          | 02:02:02                                                                    |
| You can use a separator as short for 0                                   | 10: or :10                                       | 10:00:00 or 00:10:00                                                        |
