如何在配置单元中将 12 小时时间戳转换为 24 小时时间戳?

How to convert 12-hour timestamp to 24-hour timestamp in hive?

hive 时间戳 am/pm 到 24 小时时间戳

hive> select from_unixtime(unix_timestamp('20-JUN-84 11.25.32.000000021 PM','dd-MMM-yy hh.mm.ss.SSSSSSSSS aa'),'dd-MMM-yy HH.mm.ss.S') 来自test.dual;

hive> select from_unixtime(unix_timestamp('20-JUN-84 11.25.32.000000021 PM','dd-MMM-yy hh.mm.ss.SSSSSSSSS aa'),'dd-MMM-yy HH.mm.ss.SSSSSSSSS') 来自test.dual;