Application Based Timestamps

Also:
- Use function for timestamp conversion
- Fixed typo