| Did you know ... | Search Documentation: |
| Predicate localtime/9 |
| Year | Year number | 4 digits |
| Month | Month number | 1..12 |
| Day | Day of month | 1..31 |
| DoW | Day of week | 1..7 (Mon-Sun) |
| DoY | Day in year | 1..366 |
| Hour | Hours | 0..23 |
| Min | Minutes | 0..59 |
| Sec | Seconds | 0..59 |
Note that in IF/Prolog V4, Year is 0..99, while it is a four-digit number in IF/Prolog V5. We emulate IF/Prolog V5.