I think I found a bug in the toChar() function but want to make sure here first.
When using the format "HH:mm", toChar() does not emit 24 hour time format. Instead it emits "hh:mm" format. Also, if I try to give it "hh:mm a" as a format string, it complains that it is not a valid format.
formatDate() does work as expected with the "hh:mm a" and "HH:mm" formats.
Anyone else notice this? I suspect toChar() is not oft used.