Add getTimeFormat method

DateHelper->getTimeFormat returns:
- 12 in case of 12 hour format
- 24 in case of 24 hour format