Added helper functions for neater time and date formatting