How can I display both the 24 hour time and AM/PM time formats using the time element?