So I did some poking around trying to see how I can output just the start time and end time for an event but my efforts have been fruitless. Is the solution in the tribe-date-utils.class.php file? There seems to be some code in there relating to just the time. The Template tags, tribe_get_end_date and tribe_get_start_date seem to be pre-configured to always show the date. Is it possible to just output the time?
Most or all of our date-related template tags accept an optional date format parameter, which is basically just the same as accepted by PHP’s date function:
tribe_get_end_date(null, false, 'H:i:s')
Or you can tell it to display the time (and therefore adopt the same format as used elsewhere in your blog) and pass a blank format:
echo tribe_get_end_date(null, true, ' ');
Note that an empty string ” won’t work here, you need at least one character of whitespace.
Yes, I got the idea – I had actually tried that option but I didn’t put the white space so it didn’t work for me. Funny how small things make such a big difference!